Lines Matching refs:pIdxKey
61201 UnpackedRecord *pIdxKey; /* Unpacked index key */
61205 pIdxKey = sqlite3VdbeAllocUnpackedRecord(pCur->pKeyInfo);
61206 if( pIdxKey==0 ) return SQLITE_NOMEM_BKPT;
61207 sqlite3VdbeRecordUnpack(pCur->pKeyInfo, (int)nKey, pKey, pIdxKey);
61208 if( pIdxKey->nField==0 ){
61213 pIdxKey = 0;
61215 rc = sqlite3BtreeMovetoUnpacked(pCur, pIdxKey, nKey, bias, pRes);
61217 if( pIdxKey ){
61218 sqlite3DbFree(pCur->pKeyInfo->db, pIdxKey);
65608 ** specified by pIdxKey or intKey. Return a success code.
65610 ** For INTKEY tables, the intKey parameter is used. pIdxKey
65611 ** must be NULL. For index tables, pIdxKey is used and intKey
65625 ** is smaller than intKey/pIdxKey or if the table is empty
65629 ** exactly matches intKey/pIdxKey.
65632 ** is larger than intKey/pIdxKey.
65634 ** For index tables, the pIdxKey->eqSeen field is set to 1 if there
65635 ** exists an entry in the table that exactly matches pIdxKey.
65639 UnpackedRecord *pIdxKey, /* Unpacked index key */
65650 assert( (pIdxKey==0)==(pCur->pKeyInfo==0) );
65651 assert( pCur->eState!=CURSOR_VALID || (pIdxKey==0)==(pCur->curIntKey!=0) );
65655 if( pIdxKey==0
65688 if( pIdxKey ){
65689 xRecordCompare = sqlite3VdbeFindCompare(pIdxKey);
65690 pIdxKey->errCode = 0;
65691 assert( pIdxKey->default_rc==1
65692 || pIdxKey->default_rc==0
65693 || pIdxKey->default_rc==-1
65713 assert( pCur->curIntKey || pIdxKey );
65727 assert( pPage->intKey==(pIdxKey==0) );
65787 c = xRecordCompare(nCell, (void*)&pCell[1], pIdxKey);
65794 c = xRecordCompare(nCell, (void*)&pCell[2], pIdxKey);
65829 c = xRecordCompare(nCell, pCellKey, pIdxKey);
65833 (pIdxKey->errCode!=SQLITE_CORRUPT || c==0)
65834 && (pIdxKey->errCode!=SQLITE_NOMEM || pCur->pBtree->db->mallocFailed)
65845 if( pIdxKey->errCode ) rc = SQLITE_CORRUPT_BKPT;
84038 UnpackedRecord *pIdxKey;
84067 pIdxKey = &r;
84074 pFree = pIdxKey = sqlite3VdbeAllocUnpackedRecord(pC->pKeyInfo);
84075 if( pIdxKey==0 ) goto no_mem;
84076 sqlite3VdbeRecordUnpack(pC->pKeyInfo, pIn3->n, pIn3->z, pIdxKey);
84078 pIdxKey->default_rc = 0;
84084 for(ii=0; ii<pIdxKey->nField; ii++){
84085 if( pIdxKey->aMem[ii].flags & MEM_Null ){
84091 rc = sqlite3BtreeMovetoUnpacked(pC->uc.pCursor, pIdxKey, 0, 0, &res);