projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5d23c
)
dev/core#462 Exclude tmp tables from Advanced Logging missing table check.
author
Mathieu Lutfy
<mathieu@bidon.ca>
Mon, 22 Oct 2018 19:26:27 +0000
(15:26 -0400)
committer
Mathieu Lutfy
<mathieu@bidon.ca>
Mon, 22 Oct 2018 20:25:00 +0000
(16:25 -0400)
CRM/Logging/Schema.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Logging/Schema.php
b/CRM/Logging/Schema.php
index c11b32e136bb9560586207bb1a271f4129b80869..86639bd35d76c13e2b180e86758f0e237698a583 100644
(file)
--- 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);