diff --git a/databases/mysql.sh b/databases/mysql.sh index f5b1dd6..43226f5 100644 --- a/databases/mysql.sh +++ b/databases/mysql.sh @@ -111,3 +111,4 @@ START TRANSACTION; # Begin a new tra COMMIT; # Save all changes made during the transaction ROLLBACK; # Undo all changes if an error occurs before commit SET AUTOCOMMIT = 0; # Disable automatic commits for the current session +SET AUTOCOMMIT = 1; # Re-enable automatic commits after finishing manual transactions