Lines Matching refs:iKey
36941 unsigned int iKey; /* Key value (page number) */
37247 unsigned int h = pPage->iKey % nNew;
37310 h = pPage->iKey % pCache->nHash;
37350 if( pPage->iKey>=iLimit ){
37556 unsigned int iKey,
37572 unsigned int h = iKey % pCache->nHash;
37573 for(pPage=pCache->apHash[h]; pPage&&pPage->iKey!=iKey; pPage=pPage->pNext);
37647 unsigned int h = iKey % pCache->nHash;
37649 pPage->iKey = iKey;
37659 if( pPage && iKey>pCache->iMaxKey ){
37660 pCache->iMaxKey = iKey;
37722 assert( pPage->iKey==iOld );
37735 pPage->iKey = iNew;
46287 int iKey; /* Hash key */
46289 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
46290 if( aHash[iKey]==i ) break;
46292 assert( aHash[iKey]==i );
46315 int iKey; /* Hash table key */
46343 for(iKey=walHash(iPage); aHash[iKey]; iKey=walNextHash(iKey)){
46347 aHash[iKey] = (ht_slot)idx;
46368 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
46369 if( aHash[iKey]==i ) break;
46371 assert( aHash[iKey]==i );
47682 int iKey; /* Hash slot index */
47691 for(iKey=walHash(pgno); aHash[iKey]; iKey=walNextHash(iKey)){
47692 u32 iFrame = aHash[iKey] + iZero;
47693 if( iFrame<=iLast && aPgno[aHash[iKey]]==pgno ){
65176 i64 iKey; /* The rowid we are to seek to */
65203 u64 iKey;
65216 i64 iKey; /* The integer ROWID or key for the record to be inserted */
65225 i64 iKey;
68269 i64 iKey; /* The rowid we are to seek to */
68290 u.bb.iKey = sqlite3VdbeIntValue(pIn3);
68306 if( u.bb.iKey==SMALLEST_INT64 && (pIn3->r<(double)u.bb.iKey || pIn3->r>0) ){
68327 if( pIn3->r > (double)u.bb.iKey ) u.bb.iKey++;
68331 if( pIn3->r < (double)u.bb.iKey ) u.bb.iKey--;
68334 rc = sqlite3BtreeMovetoUnpacked(u.bb.pC->pCursor, 0, (u64)u.bb.iKey, 0, &u.bb.res);
68340 u.bb.pC->lastRowid = u.bb.iKey;
68637 u64 iKey;
68650 u.bf.iKey = pIn3->u.i;
68651 rc = sqlite3BtreeMovetoUnpacked(u.bf.pCrsr, 0, u.bf.iKey, 0, &u.bf.res);
68888 i64 iKey; /* The integer ROWID or key for the record to be inserted */
68912 u.bh.iKey = u.bh.pKey->u.i;
68915 u.bh.iKey = pOp->p3;
68919 if( pOp->p5 & OPFLAG_LASTROWID ) db->lastRowid = lastRowid = u.bh.iKey;
68933 rc = sqlite3BtreeInsert(u.bh.pC->pCursor, 0, u.bh.iKey,
68947 db->xUpdateCallback(db->pUpdateArg, u.bh.op, u.bh.zDb, u.bh.zTbl, u.bh.iKey);
68975 i64 iKey;
68979 u.bi.iKey = 0;
68991 u.bi.iKey = u.bi.pC->lastRowid;
69013 db->xUpdateCallback(db->pUpdateArg, SQLITE_DELETE, zDb, zTbl, u.bi.iKey);
88666 int iKey;
88667 for(iKey=0; iKey<pTab->nCol; iKey++){
88668 Column *pCol = &pTab->aCol[iKey];
88670 if( aChange[iKey]>=0 ) return 1;
88671 if( iKey==pTab->iPKey && chngRowid ) return 1;