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

When a statement causes a ROLLBACK due to an ON CONFLICT clause, other active

VMs abort. (CVS 1778)

FossilOrigin-Name: 0fedf74e30026afe2c8caacff3d62cf5c1b1f528
This commit is contained in:
drh
2004-06-30 11:14:18 +00:00
parent 05056307fd
commit 91b48aa1af
6 changed files with 110 additions and 11 deletions

View File

@@ -149,6 +149,9 @@ int sqlite3_step(sqlite3_stmt *pStmt){
if( p->magic!=VDBE_MAGIC_RUN ){
return SQLITE_MISUSE;
}
if( p->aborted ){
return SQLITE_ABORT;
}
db = p->db;
if( sqlite3SafetyOn(db) ){
p->rc = SQLITE_MISUSE;