From aefec2b61f216e98be1069a3cb75af27ce1bc101 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Tue, 9 Sep 2014 15:51:29 -0400 Subject: [PATCH] CRM-15270 - exclude more tables from the log table creation method. Attempting to create log versions of these tables results in errors. ---------------------------------------- * CRM-15270: Enabling logging result in database error https://issues.civicrm.org/jira/browse/CRM-15270 --- CRM/Logging/Schema.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index d733c84467..d1dd719cc9 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -78,6 +78,8 @@ AND TABLE_NAME LIKE 'civicrm_%' $this->tables = preg_grep('/^civicrm_export_temp_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_queue_/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/^civicrm_menu/', $this->tables, PREG_GREP_INVERT); //CRM-14672 + $this->tables = preg_grep('/^civicrm_report_temp_/', $this->tables, PREG_GREP_INVERT); + $this->tables = preg_grep('/^civicrm_temp_/', $this->tables, PREG_GREP_INVERT); // do not log civicrm_mailing_event* tables, CRM-12300 $this->tables = preg_grep('/^civicrm_mailing_event_/', $this->tables, PREG_GREP_INVERT); -- 2.25.1