[wp-trac] [WordPress Trac] #21663: Use mysqli for MySQL queries when available (was: Use PDO or mysqli for MySQL queries when available)

WordPress Trac noreply at wordpress.org
Thu Mar 6 06:21:59 UTC 2014


#21663: Use mysqli for MySQL queries when available
------------------------------+------------------
 Reporter:  scottconnerly     |       Owner:
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Database          |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by nacin):

 In terms of offering a mysql_* fallback for plugins, I don't see the
 benefit. This will only help when ext/mysql is missing, and it never is.
 ext/mysql will start to be disabled more often over time, but by the time
 that's any measurable footprint, we ''should'' be able to have moved the
 needle on plugins using MySQL directly.

 There is little left here (please weigh in on anything I'm missing):

  * Email the authors of all plugins that use mysql_* functions directly.

  * Get Travis CI to run the test suite under MySQLi. It'd double the time
 it takes to do the tests, but it's probably worth it at least for now.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21663#comment:210>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list