Lines Matching refs:SQLITE_OPEN_MAIN_DB
909 #define SQLITE_OPEN_MAIN_DB 0x00000100 /* VFS only */ macro
40455 assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB );
40461 assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB
40483 if( eType==SQLITE_OPEN_MAIN_DB ){
40622 noLock = eType!=SQLITE_OPEN_MAIN_DB;
47514 assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB );
47520 assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB
47554 assert( (eType!=SQLITE_OPEN_MAIN_DB) || (flags & SQLITE_OPEN_URI) ||
47718 if( isReadWrite && eType==SQLITE_OPEN_MAIN_DB
47744 if( (flags & SQLITE_OPEN_MAIN_DB)
68220 if( (vfsFlags & SQLITE_OPEN_MAIN_DB)!=0 && (isMemdb || isTempDb) ){
68221 vfsFlags = (vfsFlags & ~SQLITE_OPEN_MAIN_DB) | SQLITE_OPEN_TEMP_DB;
112686 rc = sqlite3BtreeOpen(pVfs, "x\0", db, &pNew->pBt, 0, SQLITE_OPEN_MAIN_DB);
112738 flags |= SQLITE_OPEN_MAIN_DB;
170458 SQLITE_OPEN_MAIN_DB |
170635 flags | SQLITE_OPEN_MAIN_DB);
206916 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
206952 assert( (p->openFlags & SQLITE_OPEN_MAIN_DB) );
207020 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
207095 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
207118 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
207143 assert( p->openFlags & SQLITE_OPEN_MAIN_DB );
207161 if( rc==SQLITE_OK && iOfst==0 && (p->openFlags & SQLITE_OPEN_MAIN_DB) ){
207190 if( p->openFlags & SQLITE_OPEN_MAIN_DB ){
207212 && (p->openFlags & SQLITE_OPEN_MAIN_DB)
207227 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
207265 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB)
207341 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
207384 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
207441 assert( p->openFlags & (SQLITE_OPEN_MAIN_DB|SQLITE_OPEN_TEMP_DB) );
207494 if( flags & SQLITE_OPEN_MAIN_DB ){
207523 if( oflags & SQLITE_OPEN_MAIN_DB
207526 assert( oflags & SQLITE_OPEN_MAIN_DB );
207540 if( flags & SQLITE_OPEN_MAIN_DB ){