Alter a couple of other tables to InnoDB from MyISAM
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 23 Sep 2016 01:26:58 +0000 (11:26 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 23 Sep 2016 01:26:58 +0000 (11:26 +1000)
CRM/Activity/BAO/Activity.php
sql/zipcodes.mysql

index 54a522b1ee64ee392a39fa12f0c9e525755dcaeb..35cd6d52dbc841ba3a43133eb408c7dc390ae25d 100644 (file)
@@ -768,7 +768,7 @@ LEFT JOIN  civicrm_case_activity ON ( civicrm_case_activity.activity_id = tbl.ac
     $query = "CREATE TEMPORARY TABLE {$activityContactTempTable} (
                 activity_id int unsigned, contact_id int unsigned, record_type_id varchar(16),
                  contact_name varchar(255), is_deleted int unsigned, counter int unsigned, INDEX index_activity_id( activity_id ) )
-                ENGINE=MYISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci";
+                ENGINE=InnoDB DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci";
 
     CRM_Core_DAO::executeQuery($query);
 
index 7c27ed57df93217ce4609f9084a97a5d27f4b2eb..f929ac5cc0d6eb810778b961127901be37aba09d 100644 (file)
@@ -20,7 +20,7 @@ CREATE TABLE zipcodes (
   KEY zip (zip),
   KEY latitude (latitude),
   KEY longitude (longitude)
-) ENGINE=MYISAM;
+) ENGINE=InnoDB;
 
 --
 -- Dumping data for table `zipcodes`