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

Simplification to the interrupt handling logic in sqlite3VdbeExec() saves

a few bytes of code space.

FossilOrigin-Name: 43e0e59bd4e34c6e88c004ea951c0d76ff1cf0a034389f490495a5d12e239382
This commit is contained in:
drh
2020-06-03 15:59:22 +00:00
parent 094afffaec
commit 56f1873d10
3 changed files with 8 additions and 10 deletions

View File

@@ -8015,8 +8015,6 @@ no_mem:
*/
abort_due_to_interrupt:
assert( AtomicLoad(&db->u1.isInterrupted) );
rc = db->mallocFailed ? SQLITE_NOMEM_BKPT : SQLITE_INTERRUPT;
p->rc = rc;
sqlite3VdbeError(p, "%s", sqlite3ErrStr(rc));
rc = SQLITE_INTERRUPT;
goto abort_due_to_error;
}