Awight has uploaded a new change for review.

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

Change subject: Don't create SQL function at runtime
......................................................................

Don't create SQL function at runtime

This breaks the upgrade.

Bug: T117044
Change-Id: I438be42bf24724b757c5ab76cbb8c89ae6686935
---
M CRM/Contact/BAO/Contact.php
1 file changed, 5 insertions(+), 2 deletions(-)


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

diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php
index 12b8a60..7c92761 100644
--- a/CRM/Contact/BAO/Contact.php
+++ b/CRM/Contact/BAO/Contact.php
@@ -3274,8 +3274,11 @@
     // Update phone table to populate phone_numeric field
     if (!$tableName || $tableName == 'civicrm_phone') {
       // Define stored sql function needed for phones
-      CRM_Core_DAO::executeQuery(self::DROP_STRIP_FUNCTION_43);
-      CRM_Core_DAO::executeQuery(self::CREATE_STRIP_FUNCTION_43);
+      //
+      // FIXME: WMF bug T117044, we can't create this function at runtime 
(unknown why not).
+      // CRM_Core_DAO::executeQuery(self::DROP_STRIP_FUNCTION_43);
+      // CRM_Core_DAO::executeQuery(self::CREATE_STRIP_FUNCTION_43);
+
       $info[] = array(
         'table' => array('civicrm_phone'),
         'when' => 'BEFORE',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I438be42bf24724b757c5ab76cbb8c89ae6686935
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: civi-4.6.9-deployment
Gerrit-Owner: Awight <awi...@wikimedia.org>

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

Reply via email to