[wp-trac] [WordPress Trac] #5932: wpdb should reconnect and retry query when "MySQL server has gone away"

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 7 22:36:33 UTC 2012


#5932: wpdb should reconnect and retry query when "MySQL server has gone away"
--------------------------+-----------------------------
 Reporter:  dtc           |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Database      |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------
Changes (by scribu):

 * owner:  anonymous =>
 * status:  reopened => assigned


Comment:

 Now that's more like it. :)

 I think the actual connection logic, i.e. mysql_connect + $this->select()
 should be moved to a helper method, as it's probably duplicated currently.

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


More information about the wp-trac mailing list