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

Replace deprecated mysql api with PDO or mysqli

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7.12
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Needs Funding

      Description

      At some point we should migrate away from mysql to either mysqli or even PDO. Here's one reference point: http://php.net/manual/en/mysqlinfo.api.choosing.php

      Moving to mysqli is fairly painless. Recoding for PDO would be difficult especially given extensions.

      There will be several benefits once we've changed in terms of better support for OO, transactions and stored procedures.

      I'm not sure if this should be held to 5.0 instead of going into 4.7.

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              joemurray Joe Murray
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: