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

WordPress Trac noreply at wordpress.org
Tue Feb 25 16:10:35 UTC 2014


#21663: Use PDO or 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 aaroncampbell):

 It seems like USE_EXT_MYSQL is backwards in the .13 patch.  Setting it to
 true causes mysqli to be used, right?
 {{{
 $this->use_mysqli = (bool) USE_EXT_MYSQL;
 }}}

 Seems like we should rename it to `USE_EXT_MYSQLI` or use `!USE_EXT_MYSQL`
 to set use_mysqli

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


More information about the wp-trac mailing list