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

Avoid a possible use of an uninitialized variable following an I/O or OOM

error.

FossilOrigin-Name: 641408a1395bfc911ca619ef9e5f073b913d856b
This commit is contained in:
drh
2014-03-23 16:29:23 +00:00
parent dbfca2b7f8
commit 323913c880
3 changed files with 8 additions and 7 deletions

View File

@@ -4514,6 +4514,7 @@ case OP_SorterNext: { /* jump */
pC = p->apCsr[pOp->p1];
assert( isSorter(pC) );
res = 0;
rc = sqlite3VdbeSorterNext(db, pC, &res);
goto next_tail;
case OP_PrevIfOpen: /* jump */