- no connection AND no mysqli extension
So, will succeed when no configured connection, but mysqli available.
$expected['MYSQL_ATTR_READ_DEFAULT_GROUP'] = true;
}
- if (extension_loaded('mysqli') && stristr(mysqli_get_client_info(), "mysqlnd")
+ if (extension_loaded('mysqli')
+ && (stristr(mysqli_get_client_info(), "mysqlnd") || mysqli_get_client_version() > 50605)
|| MySQLPDOTest::getClientVersion(MySQLPDOTest::factory()) > 50605) {
/* XXX the MySQL client library version isn't exposed with any
constants, the single possibility is to use the PDO::getAttribute().