From 57f990d1a31b234a7c68bf70c40386565bc449e2 Mon Sep 17 00:00:00 2001 From: "atutorlangs~/.ssh" Date: Sun, 17 Jun 2018 16:46:46 -0400 Subject: [PATCH] add SLEEP to stop failed creation of gameme module tble entry --- include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql b/include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql index 5b7a9488a..367c030c4 100644 --- a/include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql +++ b/include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql @@ -11,6 +11,7 @@ CREATE TABLE IF NOT EXISTS `helpme_user` ( REPLACE INTO `modules` (`dir_name`, `status`, `privilege`, `admin_privilege`, `cron_interval`, `cron_last_run`) SELECT '_standard/helpme', 2, 0, MAX(admin_privilege) * 2, 0, 0 FROM `modules`; // Add Gameme as a standard Module +DO SLEEP(3); REPLACE INTO `modules` (`dir_name`, `status`, `privilege`, `admin_privilege`, `cron_interval`, `cron_last_run`) SELECT '_standard/gameme', 2, MAX(privilege) * 2, MAX(admin_privilege) * 2, 0, 0 FROM `modules`; # Update db date fields for compatibility with MySQL 5.7