From 051fb23804515cf480496bce4aa08a08c4afe984 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 7 Sep 2018 16:28:22 +0100 Subject: [PATCH] Bug 21235: (qa followup) Remove table services_throttle Add the missing db update to nuke the services throttle from high orbit Signed-off-by: Martin Renvoize --- installer/data/mysql/atomicupdate/bug_21235.perl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_21235.perl diff --git a/installer/data/mysql/atomicupdate/bug_21235.perl b/installer/data/mysql/atomicupdate/bug_21235.perl new file mode 100644 index 0000000000..e7858cd647 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_21235.perl @@ -0,0 +1,8 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( "DROP TABLE IF EXISTS services_throttle" ); + + # Always end with this (adjust the bug info) + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 21235: Remove table services_throttle)\n"; +} -- 2.18.0