Skip to content

Commit

Permalink
add SLEEP to stop failed creation of gameme module tble entry
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Jun 17, 2018
1 parent 0a86f5f commit 57f990d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/install/db/atutor_upgrade_2.2.3_to_2.2.4.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57f990d

Please sign in to comment.