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

WordPress Trac noreply at wordpress.org
Thu Jan 17 01:45:45 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 kurtpayne):

 Replying to [comment:46 scribu]:
 > What do we do with wpdb::set_charset()? It's calling
 mysql_set_charset().

 The new patch issues a query for `SET NAMES %s` and `COLLATE %s` which get
 delegated to the specific driver.

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


More information about the wp-trac mailing list