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

WordPress Trac noreply at wordpress.org
Wed Jan 16 18:14:04 UTC 2013


#21663: Use PDO for MySQL queries when PDO is available
--------------------------------------------------+------------------
 Reporter:  scottconnerly                         |       Owner:
     Type:  task (blessed)                        |      Status:  new
 Priority:  normal                                |   Milestone:  3.6
Component:  Database                              |     Version:  3.5
 Severity:  normal                                |  Resolution:
 Keywords:  dev-feedback has-patch needs-testing  |
--------------------------------------------------+------------------

Comment (by scribu):

 [attachment:21663.6.patch]:

 * renamed get_driver() to set_driver(), mark as private and update phpdoc
 * renamed new files to better match the other files in wp-includes
 * updated phpdoc for driver classes

 What do we do with wpdb::set_charset()? It's calling mysql_set_charset().

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21663#comment:46>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list