File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,12 @@ def run_force_upgrade_mysql(self):
295295 """
296296 self ._mysql_tasks .install_mysql (force = True )
297297
298+ def run_upgrade_mysql (self ):
299+ """:key
300+ Do upgrade of mysql with no table recreate.
301+ """
302+ self ._mysql_tasks .install_mysql (force = False )
303+
298304 def run_update_calibrations_repository (self ):
299305 """update_calibrations_repository"""
300306 self ._server_tasks .update_calibrations_repository ()
@@ -396,7 +402,11 @@ def run_vhd_post_install(self):
396402 ),
397403 "force_upgrade_mysql" : (
398404 UpgradeInstrument .run_force_upgrade_mysql ,
399- "upgrade mysql version to latest" ,
405+ "upgrade mysql version to latest and recreate tables" ,
406+ ),
407+ "upgrade_mysql" : (
408+ UpgradeInstrument .run_upgrade_mysql ,
409+ "upgrade mysql version to latest but do not recreate tables" ,
400410 ),
401411 "update_calibrations_repository" : (
402412 UpgradeInstrument .run_update_calibrations_repository ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ IF %errorlevel% neq 0 (
1414xcopy /y %SOURCE% \15.0.0\EPICS\utils\logrotate.py c:\instrument\apps\epics\utils
1515IF %errorlevel% neq 0 goto ERROR
1616
17- for %%t in ( truncate_database force_upgrade_mysql update_calibrations_repository setup_log_rotation ) do (
17+ for %%t in ( truncate_database upgrade_mysql update_calibrations_repository setup_log_rotation ) do (
1818 call " %LATEST_PYTHON% " " %~dp0 IBEX_upgrade.py" --release_dir " %SOURCE% " --release_suffix " %SUFFIX% " --confirm_step %%t
1919 IF !errorlevel! neq 0 goto ERROR
2020)
You can’t perform that action at this time.
0 commit comments