[wp-trac] [WordPress Trac] #31644: mysqli_get_client_version in wp-db

WordPress Trac noreply at wordpress.org
Thu Mar 26 09:07:41 UTC 2015


#31644: mysqli_get_client_version in wp-db
--------------------------+-----------------------
 Reporter:  filipac       |       Owner:  pento
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.2
Component:  Database      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by dd32):

 If we have to do some branching to support two version checks, the MySQLnd
 Stats functions can be used to detect which library is in use (`libmysql`
 doesn't provide the stats functions, so `function_exists` should work)
 https://php.net/manual/en/mysqlnd.stats.php

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


More information about the wp-trac mailing list