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

WordPress Trac noreply at wordpress.org
Thu Jan 10 00:54:08 UTC 2013


#21663: Use PDO for MySQL queries when PDO is available
------------------------------------+------------------------------
 Reporter:  scottconnerly           |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Database                |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by kurtpayne):

 Replying to [comment:30 SergeyBiryukov]:
 > Seeing a notice with [attachment:21663.4.patch]:
 > {{{
 > Notice: Undefined offset: 2 in wp-includes/class.wp-db-driver-
 pdo_mysql.php on line 60
 > }}}
 How did you encounter this?  [http://php.net/manual/en/pdo.errorinfo.php
 PDO::errorInfo] should always return a 3 element array.

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


More information about the wp-trac mailing list