From f9b793b0cf4f1848160a202af7aeac8410217c4c Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Mon, 8 Apr 2013 14:50:35 -0700 Subject: [PATCH] CRM-12300 ---------------------------------------- * CRM-12300: Do no log civicrm_mailing_event_* tables http://issues.civicrm.org/jira/browse/CRM-12300 --- CRM/Logging/Schema.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index b8ca79fa03..d81002f527 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -71,6 +71,9 @@ 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); + // do not log civicrm_mailing_event* tables, CRM-12300 + $this->tables = preg_grep('/^civicrm_mailing_event_/', $this->tables, PREG_GREP_INVERT); + $dsn = defined('CIVICRM_LOGGING_DSN') ? DB::parseDSN(CIVICRM_LOGGING_DSN) : DB::parseDSN(CIVICRM_DSN); $this->db = $dsn['database']; -- 2.25.1