Eileen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/277441

Change subject: CRM-18178 exclude _bak & _backup tables from trigger creation
......................................................................

CRM-18178 exclude _bak & _backup tables from trigger creation

Change-Id: Id492beaa5990971be265da425c0b8a37dd313332
---
M CRM/Logging/Schema.php
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/41/277441/1

diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php
index 447dce6..d732138 100644
--- a/CRM/Logging/Schema.php
+++ b/CRM/Logging/Schema.php
@@ -77,6 +77,9 @@
     $this->tables = preg_grep('/^civicrm_queue_/', $this->tables, 
PREG_GREP_INVERT);
     $this->tables = preg_grep('/^civicrm_menu/', $this->tables, 
PREG_GREP_INVERT); //CRM-14672
     $this->tables = preg_grep('/_temp_/', $this->tables, PREG_GREP_INVERT);
+    // CRM-18178
+    $this->tables = preg_grep('/_bak$/', $this->tables, PREG_GREP_INVERT);
+    $this->tables = preg_grep('/_backup$/', $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);

-- 
To view, visit https://gerrit.wikimedia.org/r/277441
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id492beaa5990971be265da425c0b8a37dd313332
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to