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

WordPress Trac noreply at wordpress.org
Sat Mar 23 08:04:54 UTC 2013


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

 * cc: wp@… (added)


Comment:

 I was reading through this with growing excitement and repeated thoughts
 of "well, finally, about time", so I was pretty sad to hit nacin's comment
 at the end and have my hopes dashed for the next few years (most likely,
 PHP releases seem to roll around very slowly).

 An approach which maintains backwards compatibility in the meantime (as
 advocated by some above), but allows PDO as a non-default option, would
 allow time for the code to stabilise, to get some practical research into
 any lingering PDO bugs (the only problems I ran into were pre-5.2) and to
 get feedback from other developers.

 While we certainly ''can'' wait around, it's not something that we need to
 do and we're only delaying the inevitable and (most likely) making the
 eventual pain worse by choosing to do things at the last possible moment
 rather than allowing a smooth transition by getting it underway now.

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


More information about the wp-trac mailing list