Lines Matching refs:rowid
3269 i64 iKey; /* The rowid we are to seek to */
3414 ** P1 is an open table cursor and P2 is a rowid integer. Arrange
3415 ** for P1 to move so that it points to the rowid given by P2.
3527 ** the list field being the integer ROWID of the entry that the index
3533 ** The value of N can be inferred from the cursor. N includes the rowid
3534 ** value appended to the end of the index record. This rowid value may
3541 ** where the first (N-1) fields match but the rowid value at the end
3543 ** to instruction P2. Otherwise, the rowid of the conflicting index
3556 i64 R; /* Rowid stored in register P3 */
3598 ** to P2. Otherwise, copy the rowid of the conflicting record to
3601 if( (r.flags & UNPACKED_PREFIX_SEARCH) || r.rowid==R ){
3604 pIn3->u.i = r.rowid;
3680 ** Get a new integer record number (a.k.a "rowid") used as the key to a table.
3693 i64 v; /* The new rowid */
3694 VdbeCursor *pC; /* Cursor of table to get the new rowid */
3697 Mem *pMem; /* Register holding largest rowid for AUTOINCREMENT */
3708 /* The next rowid or record number (different terms for the same
3711 ** First we attempt to find the largest existing rowid and add one
3712 ** to that. But if the largest existing rowid is already the maximum
3716 ** The second algorithm is to select a rowid at random and see if
3718 ** succeeded. If the random rowid does exist, we select a new one
3788 /* IMPLEMENTATION-OF: R-07677-41881 If the largest ROWID is equal to the
3792 assert( pOp->p3==0 ); /* We cannot be in random rowid mode if this is
3803 /* collision - try another random rowid */
3837 ** then rowid is stored for subsequent return by the
3875 i64 iKey; /* The integer ROWID or key for the record to be inserted */
3969 /* If the update-hook will be invoked, set iKey to the rowid of the
4097 /* Opcode: Rowid P1 P2 * * *
4166 ** The next use of the Rowid or Column or Next instruction for P1
4219 ** The next use of the Rowid or Column or Next instruction for P1
4390 ** the rowid of the table entry to which this index entry points.
4392 ** See also: Rowid, MakeRecord.
4397 i64 rowid;
4410 rc = sqlite3VdbeIdxRowid(db, pCrsr, &rowid);
4414 pOut->u.i = rowid;
4424 ** key that omits the ROWID. Compare this key value against the index
4425 ** that P1 is currently pointing to, ignoring the ROWID on the P1 index.
4438 ** key that omits the ROWID. Compare this key value against the index
4439 ** that P1 is currently pointing to, ignoring the ROWID on the P1 index.
4658 "SELECT name, rootpage, sql FROM '%q'.%s WHERE %s ORDER BY rowid",
5754 ** is the rowid of a row to delete. If argv[0] is NULL then no
5755 ** deletion occurs. The argv[1] element is the rowid of the new
5757 ** rowid for itself. The subsequent elements in the array are
5760 ** If P2==1 then no insert is performed. argv[0] is the rowid of
5765 ** is set to the value of the rowid for the row just inserted.
5772 sqlite_int64 rowid;
5790 rc = pModule->xUpdate(pVtab, nArg, apArg, &rowid);
5794 db->lastRowid = rowid;