Lines Matching refs:pSchema
1163 Schema *pSchema = db->aDb[i].pSchema; in disconnectAllVtab() local
1164 if( pSchema ){ in disconnectAllVtab()
1165 for(p=sqliteHashFirst(&pSchema->tblHash); p; p=sqliteHashNext(p)){ in disconnectAllVtab()
1338 pDb->pSchema = 0; in sqlite3LeaveMutexAndCloseZombie()
1343 if( db->aDb[1].pSchema ){ in sqlite3LeaveMutexAndCloseZombie()
1344 sqlite3SchemaClear(db->aDb[1].pSchema); in sqlite3LeaveMutexAndCloseZombie()
1405 sqlite3DbFree(db, db->aDb[1].pSchema); in sqlite3LeaveMutexAndCloseZombie()
3416 db->aDb[0].pSchema = sqlite3SchemaGet(db, db->aDb[0].pBt); in openDatabase()
3421 db->aDb[1].pSchema = sqlite3SchemaGet(db, 0); in openDatabase()
4019 assert( db==0 || db->aDb[0].pSchema!=0 ); in sqlite3_test_control()
4020 if( db && (y = db->aDb[0].pSchema->schema_cookie)!=0 ){ x = y; } in sqlite3_test_control()