From: Mathieu Lutfy Date: Mon, 22 Oct 2018 19:26:27 +0000 (-0400) Subject: dev/core#462 Exclude tmp tables from Advanced Logging missing table check. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f7643f6bf10451936cb1db638ebb999a261d2acd;p=civicrm-core.git dev/core#462 Exclude tmp tables from Advanced Logging missing table check. --- 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);