jenkins-bot has submitted this change and it was merged.
Change subject: CRM-18178 exclude _bak & _backup tables from trigger creation
......................................................................
CRM-18178 exclude _bak & _backup tables from trigger creation
Bug: T131221
Change-Id: Id492beaa5990971be265da425c0b8a37dd313332
---
M CRM/Logging/Schema.php
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Awight: Looks good to me, approved
jenkins-bot: Verified
diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php
index d920d11..7455961 100644
--- a/CRM/Logging/Schema.php
+++ b/CRM/Logging/Schema.php
@@ -135,6 +135,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: merged
Gerrit-Change-Id: Id492beaa5990971be265da425c0b8a37dd313332
Gerrit-PatchSet: 4
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits