Lines Matching refs:pSchema
408 assert( pParse->db->aDb[iDb].pSchema!=0 ); in autoIncBegin()
414 Table *pSeqTab = pParse->db->aDb[iDb].pSchema->pSeqTab; in autoIncBegin()
485 assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); in sqlite3AutoincrementBegin()
486 sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenRead); in sqlite3AutoincrementBegin()
548 assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); in autoIncrementEnd()
551 sqlite3OpenTable(pParse, 0, p->iDb, pDb->pSchema->pSeqTab, OP_OpenWrite); in autoIncrementEnd()
755 iDb = sqlite3SchemaToIndex(db, pTab->pSchema); in sqlite3Insert()
2507 if( pTab->pSchema->file_format<2 ) return; in sqlite3SetMakeRecordP5()
2665 iDb = sqlite3SchemaToIndex(pParse->db, pTab->pSchema); in sqlite3OpenTableAndIndices()
2679 assert( pIdx->pSchema==pTab->pSchema ); in sqlite3OpenTableAndIndices()
2865 if( pSrc->tnum==pDest->tnum && pSrc->pSchema==pDest->pSchema ){ in xferOptimization()
2965 if( pSrcIdx->tnum==pDestIdx->tnum && pSrc->pSchema==pDest->pSchema in xferOptimization()
3002 iDbSrc = sqlite3SchemaToIndex(db, pSrc->pSchema); in xferOptimization()