[wp-trac] [WordPress Trac] #33501: Starting w/ WP4.2, upgrade scenario may fail for non-MySQL installs

WordPress Trac noreply at wordpress.org
Tue Aug 25 01:12:39 UTC 2015


#33501: Starting w/ WP4.2, upgrade scenario may fail for non-MySQL installs
--------------------------+------------------------------
 Reporter:  RSkoon        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Database      |     Version:  4.1.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by dd32):

 * milestone:   => Awaiting Review


Comment:

 See #18176 for original implementation.

 Based on that, it looks like DB dropins were supposed to declare
 themselves as mysql, with `wpdb::db_connect()` doing it for them (for
 back-compat).
 That would suggest that a `if ( empty( $wpdb->is_mysql ) )` would be the
 right check IMHO.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33501#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list