Home | History | Annotate | Download | only in dist

Lines Matching refs:iRowid

31404 ** Check to see if element iRowid was inserted into the the rowset as
31407 SQLITE_PRIVATE int sqlite3RowSetTest(RowSet *pRowSet, u8 iBatch, sqlite3_int64 iRowid){
31420 if( p->v<iRowid ){
31422 }else if( p->v>iRowid ){
41157 ** set to iRowid.
41166 SQLITE_PRIVATE void sqlite3BtreeSetCachedRowid(BtCursor *pCur, sqlite3_int64 iRowid){
41169 if( p->pgnoRoot==pCur->pgnoRoot ) p->cachedRowid = iRowid;
41171 assert( pCur->cachedRowid==iRowid );
70988 int iRowid = ++pParse->nMem; /* Used for storing rowid values. */
70996 regRowid = sqlite3ExprCodeGetColumn(pParse, pTab, -1, iCur, iRowid);
71016 addr = sqlite3VdbeAddOp3(v, OP_RowSetRead, iRowSet, end, iRowid);
71023 sqlite3VdbeAddOp4(v, OP_VUpdate, 0, 1, iRowid, pVTab, P4_VTAB);
71029 sqlite3GenerateRowDelete(pParse, pTab, iCur, iRowid, count, pTrigger, OE_Default);
71093 ** memory cell iRowid.
71102 int iRowid, /* Memory cell that contains the rowid to delete */
71118 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, iLabel, iRowid);
71137 sqlite3VdbeAddOp2(v, OP_Copy, iRowid, iOld);
71155 sqlite3VdbeAddOp3(v, OP_NotExists, iCur, iLabel, iRowid);
100653 sqlite3_int64 iRowid;
100654 rc = fts3RowidMethod(pCursor, &iRowid);
100655 sqlite3_result_int64(pContext, iRowid);
107724 i64 iRowid;
107958 p += writeInt64(p, pCell->iRowid);
108096 pCell->iRowid = nodeGetRowid(pRtree, pNode, iCell);
108322 sqlite3_int64 iRowid;
108339 iRowid = nodeGetRowid(pRtree, pCursor->pNode, pCursor->iCell);
108340 rc = nodeAcquire(pRtree, iRowid, pCursor->pNode, &pChild);
108370 ** integer value equal to iRowid. Return the index of this cell.
108372 static int nodeRowidIndex(Rtree *pRtree, RtreeNode *pNode, i64 iRowid){
108374 for(ii=0; nodeGetRowid(pRtree, pNode, ii)!=iRowid; ii++){
108451 i64 iRowid = nodeGetRowid(pRtree, pCsr->pNode, pCsr->iCell);
108452 sqlite3_result_int64(ctx, iRowid);
108469 ** rowid iRowid. If successful, set *ppLeaf to point to the node and
108474 static int findLeafNode(Rtree *pRtree, i64 iRowid, RtreeNode **ppLeaf){
108477 sqlite3_bind_int64(pRtree->pReadRowid, 1, iRowid);
108513 i64 iRowid = sqlite3_value_int64(argv[0]);
108514 rc = findLeafNode(pRtree, iRowid, &pLeaf);
108517 pCsr->iCell = nodeRowidIndex(pRtree, pLeaf, iRowid);
108885 iBest = cell.iRowid;
108926 ** Write mapping (iRowid->iNode) to the <rtree>_rowid table.
108928 static int rowidWrite(Rtree *pRtree, sqlite3_int64 iRowid, sqlite3_int64 iNode){
108929 sqlite3_bind_int64(pRtree->pWriteRowid, 1, iRowid);
109396 i64 iRowid,
109403 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid);
109410 return xSetMapping(pRtree, iRowid, pNode->iNode);
109482 rightbbox.iRowid = pRight->iNode;
109483 leftbbox.iRowid = pLeft->iNode;
109501 i64 iRowid = nodeGetRowid(pRtree, pRight, i);
109502 rc = updateMapping(pRtree, iRowid, pRight, iHeight);
109503 if( iRowid==pCell->iRowid ){
109512 i64 iRowid = nodeGetRowid(pRtree, pLeft, i);
109513 rc = updateMapping(pRtree, iRowid, pLeft, iHeight);
109519 rc = updateMapping(pRtree, pCell->iRowid, pLeft, iHeight);
109613 box.iRowid = pNode->iNode;
109722 if( p->iRowid==pCell->iRowid ){
109724 rc = rowidWrite(pRtree, p->iRowid, pNode->iNode);
109726 rc = parentWrite(pRtree, p->iRowid, pNode->iNode);
109766 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid);
109787 rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode);
109789 rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode);
109975 rc = newRowid(pRtree, &cell.iRowid);
109977 cell.iRowid = sqlite3_value_int64(azData[2]);
109978 sqlite3_bind_int64(pRtree->pReadRowid, 1, cell.iRowid);
110294 sqlite3_snprintf(512-nCell,&zCell[nCell],"%d", cell.iRowid);