| /sqlite-3.40.0/src/ |
| H A D | vacuum.c | 174 saved_openFlags = db->openFlags; in sqlite3RunVacuum() 181 db->openFlags &= ~SQLITE_OPEN_READONLY; in sqlite3RunVacuum() 182 db->openFlags |= SQLITE_OPEN_CREATE|SQLITE_OPEN_READWRITE; in sqlite3RunVacuum() 221 db->openFlags = saved_openFlags; in sqlite3RunVacuum()
|
| H A D | os_unix.c | 6204 if( isReadonly ) openFlags |= O_RDONLY; in unixOpen() 6205 if( isReadWrite ) openFlags |= O_RDWR; in unixOpen() 6206 if( isCreate ) openFlags |= O_CREAT; in unixOpen() 6231 openFlags &= ~(O_RDWR|O_CREAT); in unixOpen() 6233 openFlags |= O_RDONLY; in unixOpen() 6286 p->openFlags = openFlags; in unixOpen() 7068 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile() 7077 openFlags = O_RDONLY | O_NOFOLLOW; in proxyCreateUnixFile() 7078 fd = robust_open(path, openFlags, 0); in proxyCreateUnixFile() 7101 pNew->openFlags = openFlags; in proxyCreateUnixFile() [all …]
|
| H A D | btreeInt.h | 430 u8 openFlags; /* Flags to sqlite3BtreeOpen() */ member
|
| H A D | tclsqlite.c | 183 int openFlags; /* Flags used to open. (SQLITE_OPEN_URI) */ member 2066 SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE| pDb->openFlags, 0); in DbObjCmd() 3165 SQLITE_OPEN_READONLY | pDb->openFlags, 0); in DbObjCmd() 3875 p->openFlags = flags & SQLITE_OPEN_URI; in DbMain()
|
| H A D | attach.c | 157 flags = db->openFlags; in attachFunc()
|
| H A D | shell.c.in | 1144 int openFlags; /* Additional flags to open. (SQLITE_OPEN_NOFOLLOW) */ member 5070 static void open_db(ShellState *p, int openFlags){ argument 5078 (openFlags & OPEN_DB_ZIPFILE)!=0); 5084 SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|p->openFlags, "apndvfs"); 5098 SQLITE_OPEN_READONLY|p->openFlags, 0); 5104 SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE|p->openFlags, 0); 5112 if( openFlags & OPEN_DB_KEEPALIVE ){ 9070 p->openFlags |= SQLITE_OPEN_NOFOLLOW; 9102 p->openFlags = 0; 11694 data.openFlags = SQLITE_OPEN_NOFOLLOW; [all …]
|
| H A D | btree.c | 2586 pBt->openFlags = (u8)flags; in sqlite3BtreeOpen() 4665 if( (pBt->openFlags & BTREE_SINGLE) && pBt->pCursor==0 ){ in sqlite3BtreeCloseCursor() 9767 assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 ); in btreeCreateTable() 9802 if( (pBt->openFlags & BTREE_SINGLE)==0 in clearDatabasePage()
|
| H A D | main.c | 3380 db->openFlags = flags; in openDatabase()
|
| H A D | sqliteInt.h | 1550 unsigned int openFlags; /* Flags passed to sqlite3_vfs.xOpen() */ member
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | sqlite3rbu.c | 4485 assert( p->openFlags & SQLITE_OPEN_MAIN_DB ); in rbuUnlockShm() 4521 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) ); in rbuMainlistAdd() 4589 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){ in rbuVfsClose() 4646 assert( p->openFlags & SQLITE_OPEN_WAL ); in rbuVfsRead() 4650 && (p->openFlags & SQLITE_OPEN_WAL) in rbuVfsRead() 4664 && (p->openFlags & SQLITE_OPEN_MAIN_DB) in rbuVfsRead() 4712 assert( p->openFlags & SQLITE_OPEN_MAIN_DB ); in rbuVfsWrite() 4717 && (p->openFlags & SQLITE_OPEN_WAL) in rbuVfsWrite() 4759 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){ in rbuVfsSync() 4781 && (p->openFlags & SQLITE_OPEN_MAIN_DB) in rbuVfsFileSize() [all …]
|
| /sqlite-3.40.0/test/ |
| H A D | fuzzcheck.c | 1462 int openFlags, in inmemOpen() argument 1473 if( pOutFlags ) *pOutFlags = openFlags; in inmemOpen() 2332 int openFlags; in main() local 2379 openFlags = SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE; in main() 2381 openFlags |= SQLITE_OPEN_MEMORY; in main() 2384 rc = sqlite3_open_v2("main.db", &db, openFlags, zVfs); in main()
|
| H A D | dbfuzz.c | 335 int openFlags, in inmemOpen() argument 346 if( pOutFlags ) *pOutFlags = openFlags; in inmemOpen()
|
| H A D | speedtest1.c | 2217 int openFlags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE in main() local 2305 openFlags |= SQLITE_OPEN_NOMUTEX; in main() 2464 openFlags, zVfs) ){ in main()
|
| /sqlite-3.40.0/ext/wasm/api/ |
| H A D | sqlite3-wasm.c | 497 DefGroup(openFlags) { in sqlite3_wasm_enum_json() 995 const int openFlags = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; in sqlite3_wasm_vfs_create_file() local 1009 rc = sqlite3OsOpenMalloc(pVfs, zFilename, &pFile, openFlags, &flagsOut); in sqlite3_wasm_vfs_create_file()
|
| H A D | sqlite3-api-opfs.js | 1177 const openFlags = capi.SQLITE_OPEN_CREATE 1193 fid, openFlags, pOut);
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | unionvtab.c | 617 static const int openFlags = SQLITE_OPEN_READONLY | SQLITE_OPEN_URI; in unionOpenDatabaseInner() local 623 rc = sqlite3_open_v2(pSrc->zFile, &pSrc->db, openFlags, 0); in unionOpenDatabaseInner() 637 rc = sqlite3_open_v2(pSrc->zFile, &pSrc->db, openFlags, 0); in unionOpenDatabaseInner()
|
| /sqlite-3.40.0/tool/ |
| H A D | dbhash.c | 433 static const int openFlags = in main() local 438 rc = sqlite3_open_v2(zDb, &g.db, openFlags, 0); in main()
|
| /sqlite-3.40.0/mptest/ |
| H A D | mptest.c | 1283 int openFlags = SQLITE_OPEN_READWRITE; in main() local 1364 openFlags |= SQLITE_OPEN_CREATE; in main() 1366 rc = sqlite3_open_v2(g.zDbFile, &g.db, openFlags, g.zVfs); in main()
|