Skip to content

[SE-3040] Enables Auto Commit for MYSQLdb When Retrieving Cursor for DB

Boros Gábor requested to merge nizar/instance_redeploy_mysql_autocommit into master

Created by: nizarmah

Previously, any preupgrade sql commands ran would not be committed to the MySQL database. So, this PR enables auto commit in order to commit any changes during instance_redeploy to the MySQL database.

JIRA tickets: SE-3040

Testing instructions:

  1. Checkout the changes on Stage
  2. Run the instance_redeploy command with --preupgrade-sql-commands argument specified
  3. Make sure changes to MySQL database are committed / applied

Reviewers

  • @Kelketek

Merge request reports