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

Version 3.48.0 for the bedrock branch

FossilOrigin-Name: fab341c8295545739cdce8b71e38ead68cb80a6f836f7ec0540b387f17b6cbe2
This commit is contained in:
drh
2025-01-14 12:28:43 +00:00
37 changed files with 1227 additions and 119 deletions

View File

@@ -5314,12 +5314,12 @@ static int sessionChangesetApply(
}
}
}
sqlite3_exec(db, "PRAGMA defer_foreign_keys = 0", 0, 0, 0);
if( (flags & SQLITE_CHANGESETAPPLY_NOSAVEPOINT)==0 ){
if( rc==SQLITE_OK ){
rc = sqlite3_exec(db, "RELEASE changeset_apply", 0, 0, 0);
}else{
}
if( rc!=SQLITE_OK ){
sqlite3_exec(db, "ROLLBACK TO changeset_apply", 0, 0, 0);
sqlite3_exec(db, "RELEASE changeset_apply", 0, 0, 0);
}