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

Abort the OP_Savepoint opcode early if a virtual table xSync method fails,

perhaps due to an interrupt.

FossilOrigin-Name: 672e749aef7351de3c69b365c1f80c756fda4e261b5d2ac1faa01d3a7d5a4c49
This commit is contained in:
drh
2019-12-15 00:36:33 +00:00
parent 7e3f135c62
commit 95866af326
3 changed files with 8 additions and 7 deletions

View File

@@ -3293,6 +3293,7 @@ case OP_Savepoint: {
db->mDbFlags |= DBFLAG_SchemaChange;
}
}
if( rc ) goto abort_due_to_error;
/* Regardless of whether this is a RELEASE or ROLLBACK, destroy all
** savepoints nested inside of the savepoint being operated on. */