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

Fix an error in the OP_SeekScan opcode added by check-in [4a43430fd23f8835].

Problem reported by [forum:/forumpost/8cc1dc0fe9|forum post 8cc1dc0fe9].

FossilOrigin-Name: 651a13fcd16f03e89eb6228c9f3250e25910b9bbe2637f627f65ff78f8ba2059
This commit is contained in:
drh
2023-03-24 21:24:52 +00:00
parent b3ad5444d0
commit ed8e12e97b
4 changed files with 19 additions and 8 deletions

View File

@@ -4973,6 +4973,7 @@ case OP_SeekScan: { /* ncycle */
break;
}
nStep--;
pC->cacheStatus = CACHE_STALE;
rc = sqlite3BtreeNext(pC->uc.pCursor, 0);
if( rc ){
if( rc==SQLITE_DONE ){