dev/core#462 Exclude tmp tables from Advanced Logging missing table check.
[civicrm-core.git] / 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);