Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1292

Migrate to MySQLi Driver

    XMLWordPrintable

    Details

    • Change Log Group:
      Changed
    • Change Log Message:
      Use MySQLi database driver instead of MySQL driver to fix notices in PHP 5.5.+.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

    • Commit Revision:
      15,931

      Description

      Make kDBConnection class use MySQLi driver (mysqli php class) internally instead of using deprecated MySQL driver (mysql_* functions).

      Plan:

      1. reference to a resource (produced by mysql_connect) now becomes a mysqli class instance
      2. all methods calling mysql_* function now must use corresponding mysqli class
      3. test all cases, where errors are occurring (e.g. wrong sql, wrong connection data, etc.) to ensure, that all works as before
      4. public interface of class isn't changed
      5. check for "mysqli" instead of "mysql" php extension presence during installation

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: