mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Schema modifications are committed internally when a statement transaction
is committed. (CVS 1592) FossilOrigin-Name: 4cfc5a36e9891a9b69209f94194fc492e203ab75
This commit is contained in:
@@ -1151,6 +1151,7 @@ static int vdbeCommit(sqlite *db){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -1275,6 +1276,8 @@ int sqlite3VdbeReset(Vdbe *p, char **pzErrMsg){
|
||||
|
||||
if( p->rc!=SQLITE_OK ){
|
||||
sqlite3RollbackInternalChanges(db);
|
||||
}else if( db->flags & SQLITE_InternChanges ){
|
||||
db->flags &= ~SQLITE_InternChanges;
|
||||
}
|
||||
|
||||
if( (p->magic==VDBE_MAGIC_RUN && p->pc>=0) || p->magic==VDBE_MAGIC_HALT ){
|
||||
|
||||
Reference in New Issue
Block a user