CRM-12151
authorDonald A. Lobo <lobo@civicrm.org>
Wed, 17 Apr 2013 13:54:16 +0000 (06:54 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Wed, 17 Apr 2013 13:54:16 +0000 (06:54 -0700)
----------------------------------------
* CRM-12151: MySQL max_key_length error installing CiviCRM 4.2.8 on stock OSX MySQL
  http://issues.civicrm.org/jira/browse/CRM-12151

CRM/Upgrade/Incremental/php/FourThree.php

index d03447e1658a498d3b3939008226ced3c9bb0d1a..16d0a1d8372dcb41cf31cf759f946d4a81bee9c0 100644 (file)
@@ -454,7 +454,7 @@ WHERE      cog.name = 'payment_instrument'
     CRM_Core_DAO::executeQuery($sql);
 
     //CRM-12141
-    $sql = "ALTER TABLE {$tempTableName1} ADD INDEX index_instrument_id (instrument_id);";
+    $sql = "ALTER TABLE {$tempTableName1} ADD INDEX index_instrument_id (instrument_id(200));";
     CRM_Core_DAO::executeQuery($sql);
 
     //create temp table to process completed / cancelled contribution