Skip to content

Commit

Permalink
Omit errors about missing SAVEPOINTs when aborting the .archive command
Browse files Browse the repository at this point in the history
in the CLI.
  • Loading branch information
D. Richard Hipp committed Jan 11, 2019
1 parent 374f131 commit efebea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shell.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -5749,7 +5749,7 @@ static int arCreateOrUpdateCommand(
}
end_ar_transaction:
if( rc!=SQLITE_OK ){
arExecSql(pAr, "ROLLBACK TO ar; RELEASE ar;");
sqlite3_exec(pAr->db, "ROLLBACK TO ar; RELEASE ar;", 0, 0, 0);
}else{
rc = arExecSql(pAr, "RELEASE ar;");
if( pAr->bZip && pAr->zFile ){
Expand Down

0 comments on commit efebea8

Please sign in to comment.