Tuned up PdfLatex font settings
[civicrm-core.git] / tmp_table_myisam.patch
CommitLineData
4d198431
LMM
1diff --git a/CRM/Contact/Form/Search/Custom/Group.php b/CRM/Contact/Form/Search/Custom/Group.php
2index 999a733..b40d55f 100644
3--- a/CRM/Contact/Form/Search/Custom/Group.php
4+++ b/CRM/Contact/Form/Search/Custom/Group.php
5@@ -32,7 +32,9 @@
6 * $Id$
7 *
8 */
9-class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface {
10+class CRM_Contact_Form_Search_Custom_Group
11+ extends CRM_Contact_Form_Search_Custom_Base
12+ implements CRM_Contact_Form_Search_Interface {
13
14 protected $_formValues;
15
16@@ -283,7 +285,7 @@ function from() {
17 $xGroups = 0;
18 }
19
20- $sql = "CREATE TEMPORARY TABLE Xg_{$this->_tableName} ( contact_id int primary key) ENGINE=HEAP";
21+ $sql = "CREATE TEMPORARY TABLE Xg_{$this->_tableName} ( contact_id int primary key) ENGINE=MyISAM";
22 CRM_Core_DAO::executeQuery($sql);
23
24 //used only when exclude group is selected
25@@ -318,7 +320,7 @@ function from() {
26
27 $sql = "CREATE TEMPORARY TABLE Ig_{$this->_tableName} ( id int PRIMARY KEY AUTO_INCREMENT,
28 contact_id int,
29- group_names varchar(64)) ENGINE=HEAP";
30+ group_names varchar(64)) ENGINE=MyISAM";
31
32 CRM_Core_DAO::executeQuery($sql);
33
34@@ -418,7 +420,7 @@ function from() {
35 $xTags = 0;
36 }
37
38- $sql = "CREATE TEMPORARY TABLE Xt_{$this->_tableName} ( contact_id int primary key) ENGINE=HEAP";
39+ $sql = "CREATE TEMPORARY TABLE Xt_{$this->_tableName} ( contact_id int primary key) ENGINE=MyISAM";
40 CRM_Core_DAO::executeQuery($sql);
41
42 //used only when exclude tag is selected
43@@ -436,7 +438,7 @@ function from() {
44
45 $sql = "CREATE TEMPORARY TABLE It_{$this->_tableName} ( id int PRIMARY KEY AUTO_INCREMENT,
46 contact_id int,
47- tag_names varchar(64)) ENGINE=HEAP";
48+ tag_names varchar(64)) ENGINE=MyISAM";
49
50 CRM_Core_DAO::executeQuery($sql);
51