[wp-trac] [WordPress Trac] #31644: mysqli_get_client_version in wp-db
WordPress Trac
noreply at wordpress.org
Sun Mar 15 12:19:15 UTC 2015
#31644: mysqli_get_client_version in wp-db
--------------------------+---------------------
Reporter: filipac | Owner: pento
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Database | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses:
--------------------------+---------------------
Changes (by pento):
* owner: => pento
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31783"]:
{{{
#!CommitTicketReference repository="" revision="31783"
WPDB: HHVM doesn't support passing a DB link to
`mysqli_get_client_version()`. While we usually pass a DB link to every
`ext/mysql` and `mysqli` function call, we don't really need to do that
here, as there's no way for the client library to change mid page load.
Another fun fact is that `mysql_get_client_version()` doesn't exist, but
`mysql_get_client_info()` (along with `mysqli_get_client_info()') do. So,
we're switching to them, in order to add a pleasing symmetry to the client
version check.
Fixes #31644
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31644#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list