aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/db/sqlite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/lib/db/sqlite.cc')
-rw-r--r--tensorflow/core/lib/db/sqlite.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/lib/db/sqlite.cc b/tensorflow/core/lib/db/sqlite.cc
index cb6943379d..cf11f3a331 100644
--- a/tensorflow/core/lib/db/sqlite.cc
+++ b/tensorflow/core/lib/db/sqlite.cc
@@ -112,6 +112,7 @@ Status EnvPragma(Sqlite* db, const char* pragma, const char* var) {
/* static */
Status Sqlite::Open(const string& path, int flags, Sqlite** db) {
flags |= SQLITE_OPEN_PRIVATECACHE;
+ flags |= SQLITE_OPEN_URI;
sqlite3* sqlite = nullptr;
int rc = sqlite3_open_v2(path.c_str(), &sqlite, flags, nullptr);
if (rc != SQLITE_OK) {