From f7643f6bf10451936cb1db638ebb999a261d2acd Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Mon, 22 Oct 2018 15:26:27 -0400 Subject: [PATCH] dev/core#462 Exclude tmp tables from Advanced Logging missing table check. --- CRM/Logging/Schema.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index c11b32e136..86639bd35d 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -144,6 +144,8 @@ AND TABLE_NAME LIKE 'civicrm_%' // CRM-18178 $this->tables = preg_grep('/_bak$/', $this->tables, PREG_GREP_INVERT); $this->tables = preg_grep('/_backup$/', $this->tables, PREG_GREP_INVERT); + // dev/core#462 + $this->tables = preg_grep('/^civicrm_tmp_/', $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