mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Simplifications to vdbe.c in support of coverage testing. (CVS 6794)
FossilOrigin-Name: 16680f05bd169dfb1b4bf0eb082e69701f9b07ab
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
** to version 2.8.7, all this code was combined into the vdbe.c source file.
|
||||
** But that file was getting too big so this subroutines were split out.
|
||||
**
|
||||
** $Id: vdbeaux.c,v 1.461 2009/06/19 00:33:32 drh Exp $
|
||||
** $Id: vdbeaux.c,v 1.462 2009/06/22 00:55:31 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "vdbeInt.h"
|
||||
@@ -2027,7 +2027,7 @@ int sqlite3VdbeCursorMoveto(VdbeCursor *p){
|
||||
assert( p->isTable );
|
||||
rc = sqlite3BtreeMovetoUnpacked(p->pCursor, 0, p->movetoTarget, 0, &res);
|
||||
if( rc ) return rc;
|
||||
p->lastRowid = keyToInt(p->movetoTarget);
|
||||
p->lastRowid = p->movetoTarget;
|
||||
p->rowidIsValid = ALWAYS(res==0) ?1:0;
|
||||
if( NEVER(res<0) ){
|
||||
rc = sqlite3BtreeNext(p->pCursor, &res);
|
||||
|
||||
Reference in New Issue
Block a user