Searched refs:sqliteFlags (Results 1 – 1 of 1) sorted by relevance
120 int sqliteFlags; in nativeOpen() local122 sqliteFlags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; in nativeOpen()124 sqliteFlags = SQLITE_OPEN_READONLY; in nativeOpen()126 sqliteFlags = SQLITE_OPEN_READWRITE; in nativeOpen()138 int err = sqlite3_open_v2(path.c_str(), &db, sqliteFlags, NULL); in nativeOpen()155 if ((sqliteFlags & SQLITE_OPEN_READWRITE) && sqlite3_db_readonly(db, NULL)) { in nativeOpen()