Lines Matching refs:pSchema
113 pNew->pSchema = 0; in attachFunc()
177 pNew->pSchema = sqlite3SchemaGet(db, pNew->pBt); in attachFunc()
178 if( !pNew->pSchema ){ in attachFunc()
180 }else if( pNew->pSchema->file_format && pNew->pSchema->enc!=ENC(db) ){ in attachFunc()
233 db->aDb[iDb].pSchema = 0; in attachFunc()
305 assert( db->aDb[1].pSchema ); in detachFunc()
306 pEntry = sqliteHashFirst(&db->aDb[1].pSchema->trigHash); in detachFunc()
309 if( pTrig->pTabSchema==pDb->pSchema ){ in detachFunc()
310 pTrig->pTabSchema = pTrig->pSchema; in detachFunc()
317 pDb->pSchema = 0; in detachFunc()
479 pItem->pSchema = pFix->pSchema; in fixSelectCb()
515 pFix->pSchema = db->aDb[iDb].pSchema; in sqlite3FixInit()