dev/core#462 Exclude tmp tables from Advanced Logging missing table check.
authorMathieu Lutfy <mathieu@bidon.ca>
Mon, 22 Oct 2018 19:26:27 +0000 (15:26 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Mon, 22 Oct 2018 20:25:00 +0000 (16:25 -0400)
CRM/Logging/Schema.php

index c11b32e136bb9560586207bb1a271f4129b80869..86639bd35d76c13e2b180e86758f0e237698a583 100644 (file)
@@ -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);