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

Fix a problem in the new code introduced by [658b84d7] causing corruption and other errors to be ignored.

FossilOrigin-Name: 7ccf2e7d413adb109c61456a5f46e87d38884801dbaab93297a17e3050014b59
This commit is contained in:
dan
2019-05-09 11:19:27 +00:00
parent eb265343a9
commit 873b019826
4 changed files with 153 additions and 10 deletions

View File

@@ -4016,7 +4016,8 @@ case OP_SeekGT: { /* jump, in3, group */
VdbeBranchTaken(1,2); goto jump_to_p2;
break;
}else{
sqlite3BtreeLast(pC->uc.pCursor, &res);
rc = sqlite3BtreeLast(pC->uc.pCursor, &res);
if( rc!=SQLITE_OK ) goto abort_due_to_error;
goto seek_not_found;
}
}else