[wp-trac] [WordPress Trac] #40037: Add ability to ask wpdb for full db server info

WordPress Trac noreply at wordpress.org
Sun Mar 5 15:39:30 UTC 2017


#40037: Add ability to ask wpdb for full db server info
--------------------------+-----------------------------
 Reporter:  clarinetlord  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Database      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Currently, calling `wpdb::db_version()` only returns the version number of
 the db server. It would be useful to have a separate method called
 `db_server_info()` that returned the full string with vendor and version.
 That way one wouldn't have to use the raw sql function
 `mysqli_get_server_info()` outside of wpdb and allows `wpdb` to properly
 abstract this functionality.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40037>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list