1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Change code in OP_Rewind to avoid a valgrind warning following an error in the btree layer. This change does not fix any bug, just a warning.

FossilOrigin-Name: 4f62dbcfc96855f69e71d163bfc051d9db08cca9
This commit is contained in:
dan
2010-07-03 05:56:09 +00:00
parent 0eb77d0568
commit 2411dea3ca
4 changed files with 10 additions and 22 deletions

View File

@@ -4248,7 +4248,6 @@ int sqlite3BtreeFirst(BtCursor *pCur, int *pRes){
if( pCur->eState==CURSOR_INVALID ){
assert( pCur->apPage[pCur->iPage]->nCell==0 );
*pRes = 1;
rc = SQLITE_OK;
}else{
assert( pCur->apPage[pCur->iPage]->nCell>0 );
*pRes = 0;