Lines Matching defs:iRowid
36282 ** Check to see if element iRowid was inserted into the the rowset as
36285 SQLITE_PRIVATE int sqlite3RowSetTest(RowSet *pRowSet, u8 iBatch, sqlite3_int64 iRowid){
36298 if( p->v<iRowid ){
36300 }else if( p->v>iRowid ){
50643 ** set to iRowid.
50652 SQLITE_PRIVATE void sqlite3BtreeSetCachedRowid(BtCursor *pCur, sqlite3_int64 iRowid){
50655 if( p->pgnoRoot==pCur->pgnoRoot ) p->cachedRowid = iRowid;
50657 assert( pCur->cachedRowid==iRowid );
81425 int iRowid = ++pParse->nMem; /* Used for storing rowid values. */
81433 regRowid = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iCur, iRowid);
81453 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, end, iRowid);
81460 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iRowid, pVTab, P4_VTAB);
81466 sqlite3GenerateRowDelete(pParse, pTab, iCur, iRowid, count, pTrigger, OE_Default);
81530 ** memory cell iRowid.
81539 int iRowid, /* Memory cell that contains the rowid to delete */
81555 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, iLabel, iRowid);
81574 sqlite3VdbeAddOp2(v, OP_Copy, iRowid, iOld);
81590 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, iLabel, iRowid);
111337 i64 iRowid; /* rowid parsed. */
111531 u64 iRowid; /* iCell's rowid (in table). */
111573 nRead += getVarint(pCell + nRead, &iRowid);
111575 pCursor->iRowid = (i64)iRowid;
111645 return pCursor->iRowid;
116219 sqlite3_int64 iRowid;
116220 rc = fts3RowidMethod(pCursor, &iRowid);
116221 sqlite3_result_int64(pContext, iRowid);
116791 sqlite3_int64 iRowid; /* Current rowid */
116999 pCsr->iRowid++;
117188 *pRowid = pCsr->iRowid;
124528 i64 iRowid;
124817 p += writeInt64(p, pCell->iRowid);
124954 pCell->iRowid = nodeGetRowid(pRtree, pNode, iCell);
125258 sqlite3_int64 iRowid;
125274 iRowid = nodeGetRowid(pRtree, pCursor->pNode, pCursor->iCell);
125275 rc = nodeAcquire(pRtree, iRowid, pCursor->pNode, &pChild);
125306 ** integer value equal to iRowid. Return the index of this cell.
125311 i64 iRowid,
125317 if( nodeGetRowid(pRtree, pNode, ii)==iRowid ){
125404 i64 iRowid = nodeGetRowid(pRtree, pCsr->pNode, pCsr->iCell);
125405 sqlite3_result_int64(ctx, iRowid);
125422 ** rowid iRowid. If successful, set *ppLeaf to point to the node and
125427 static int findLeafNode(Rtree *pRtree, i64 iRowid, RtreeNode **ppLeaf){
125430 sqlite3_bind_int64(pRtree->pReadRowid, 1, iRowid);
125510 i64 iRowid = sqlite3_value_int64(argv[0]);
125511 rc = findLeafNode(pRtree, iRowid, &pLeaf);
125515 rc = nodeRowidIndex(pRtree, pLeaf, iRowid, &pCsr->iCell);
125886 iBest = cell.iRowid;
125932 ** Write mapping (iRowid->iNode) to the <rtree>_rowid table.
125934 static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){
125935 sqlite3_bind_int64(pRtree->pWriteRowid, 1, iRowid);
126402 i64 iRowid,
126409 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid);
126416 return xSetMapping(pRtree, iRowid, pNode->iNode);
126492 rightbbox.iRowid = pRight->iNode;
126493 leftbbox.iRowid = pLeft->iNode;
126517 i64 iRowid = nodeGetRowid(pRtree, pRight, i);
126518 rc = updateMapping(pRtree, iRowid, pRight, iHeight);
126519 if( iRowid==pCell->iRowid ){
126528 i64 iRowid = nodeGetRowid(pRtree, pLeft, i);
126529 rc = updateMapping(pRtree, iRowid, pLeft, iHeight);
126535 rc = updateMapping(pRtree, pCell->iRowid, pLeft, iHeight);
126659 box.iRowid = pNode->iNode;
126771 if( p->iRowid==pCell->iRowid ){
126773 rc = rowidWrite(pRtree, p->iRowid, pNode->iNode);
126775 rc = parentWrite(pRtree, p->iRowid, pNode->iNode);
126815 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid);
126837 rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode);
126839 rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode);
127018 rc = newRowid(pRtree, &cell.iRowid);
127020 cell.iRowid = sqlite3_value_int64(azData[2]);
127021 sqlite3_bind_int64(pRtree->pReadRowid, 1, cell.iRowid);
127029 *pRowid = cell.iRowid;
127364 sqlite3_snprintf(512-nCell,&zCell[nCell],"%lld", cell.iRowid);