Unverified Commit 8bdb6097 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #4114 from morozov/deprecate-requires-query-for-server-version

Deprecate ServerInfoAwareConnection#requiresQueryForServerVersion() as an implementation detail
parents 70115f89 b65aa913
# Upgrade to 2.11 # Upgrade to 2.11
##`ServerInfoAwareConnection::requiresQueryForServerVersion()` is deprecated.
The `ServerInfoAwareConnection::requiresQueryForServerVersion()` method has been deprecated as an implementation detail which is the same for almost all supported drivers.
## Statement constructors are marked internal ## Statement constructors are marked internal
The driver and wrapper statement objects can be only created by the corresponding connection objects. The driver and wrapper statement objects can be only created by the corresponding connection objects.
......
...@@ -17,6 +17,8 @@ interface ServerInfoAwareConnection ...@@ -17,6 +17,8 @@ interface ServerInfoAwareConnection
/** /**
* Checks whether a query is required to retrieve the database server version. * Checks whether a query is required to retrieve the database server version.
* *
* @deprecated
*
* @return bool True if a query is required to retrieve the database server version, false otherwise. * @return bool True if a query is required to retrieve the database server version, false otherwise.
*/ */
public function requiresQueryForServerVersion(); public function requiresQueryForServerVersion();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment