Lines Matching refs:pKeyInfo
823 KeyInfo *pKeyInfo = pCur->pKeyInfo; in btreeMoveto() local
825 pIdxKey = sqlite3VdbeAllocUnpackedRecord(pKeyInfo); in btreeMoveto()
827 sqlite3VdbeRecordUnpack(pKeyInfo, (int)nKey, pKey, pIdxKey); in btreeMoveto()
828 if( pIdxKey->nField==0 || pIdxKey->nField>pKeyInfo->nAllField ){ in btreeMoveto()
833 sqlite3DbFree(pCur->pKeyInfo->db, pIdxKey); in btreeMoveto()
4525 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ in btreeCursor() argument
4541 assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, (wrFlag?2:1)) in btreeCursor()
4564 pCur->pKeyInfo = pKeyInfo; in btreeCursor()
4592 struct KeyInfo *pKeyInfo, /* First arg to comparison function */ in btreeCursorWithLock() argument
4597 rc = btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur); in btreeCursorWithLock()
4605 struct KeyInfo *pKeyInfo, /* First arg to xCompare() */ in sqlite3BtreeCursor() argument
4609 return btreeCursorWithLock(p, iTable, wrFlag, pKeyInfo, pCur); in sqlite3BtreeCursor()
4611 return btreeCursor(p, iTable, wrFlag, pKeyInfo, pCur); in sqlite3BtreeCursor()
5397 if( pRoot->isInit==0 || (pCur->pKeyInfo==0)!=pRoot->intKey ){ in moveToRoot()
5574 assert( pCur->pKeyInfo==0 ); in sqlite3BtreeTableMoveto()
5805 assert( pCur->pKeyInfo!=0 ); in sqlite3BtreeIndexMoveto()
9005 assert( (flags & BTREE_PREFORMAT)==0 || seekResult || pCur->pKeyInfo==0 ); in sqlite3BtreeInsert()
9045 assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); in sqlite3BtreeInsert()
9052 assert( (flags & BTREE_PREFORMAT) || (pX->pKey==0)==(pCur->pKeyInfo==0) ); in sqlite3BtreeInsert()
9054 if( pCur->pKeyInfo==0 ){ in sqlite3BtreeInsert()
9113 r.pKeyInfo = pCur->pKeyInfo; in sqlite3BtreeInsert()
9268 if( pCur->pKeyInfo ){ in sqlite3BtreeInsert()
9316 if( pDest->pKeyInfo==0 ) aOut += putVarint(aOut, iKey); in sqlite3BtreeTransferRow()
9431 assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); in sqlite3BtreeDelete()
9510 if( pCur->pKeyInfo==0 && p->hasIncrblobCur ){ in sqlite3BtreeDelete()