CRM-18006 - Specify db engine for civicrm_install_canary table
authorColeman Watts <coleman@civicrm.org>
Sat, 23 Apr 2016 19:12:30 +0000 (15:12 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 26 Apr 2016 19:38:06 +0000 (15:38 -0400)
Civi/Core/InstallationCanary.php

index 3fd967bcbd3b79b2bdd9d4db46d911c33e0a58be..e94dbe857547a5ac39205ecf9d6ff2c09e303046 100644 (file)
@@ -53,7 +53,7 @@ class InstallationCanary {
       throw new \CRM_Core_Exception("Found installation canary. This suggests that something went wrong with tracking installation process. Please post to forum or JIRA.");
     }
     \Civi::log()->info('Creating canary table');
-    \CRM_Core_DAO::executeQuery('CREATE TABLE civicrm_install_canary (id int(10) unsigned NOT NULL)');
+    \CRM_Core_DAO::executeQuery('CREATE TABLE civicrm_install_canary (id int(10) unsigned NOT NULL) ENGINE=InnoDB');
   }
 
 }