Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5504

Consider using a saner SQL query splitter

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.1
    • Fix Version/s: 4.3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      We need a query splitter for the install process as well as for upgrades. We're currently doing a preg_split(/;$/m, $query) heuristic, which works in our cases as long as we remember not to put whitespace at the end of query lines (and don't have message templates ending in colons).

      We should fix this by using a saner query splitter.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              shot Piotr Szotkowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: