-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.3.0-B1
-
Component/s: Database, PHP Compatibility
-
Labels:
-
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:
-
Commit Revision:15,931
Make kDBConnection class use MySQLi driver (mysqli php class) internally instead of using deprecated MySQL driver (mysql_* functions).
Plan:
- reference to a resource (produced by mysql_connect) now becomes a mysqli class instance
- all methods calling mysql_* function now must use corresponding mysqli class
- test all cases, where errors are occurring (e.g. wrong sql, wrong connection data, etc.) to ensure, that all works as before
- public interface of class isn't changed
- check for "mysqli" instead of "mysql" php extension presence during installation