diff options
author | Remi Collet <remi@php.net> | 2012-12-12 16:53:18 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2012-12-12 16:53:18 +0100 |
commit | 6e4cfa18f768c385e1945fcb4776cf6ad0cecdfc (patch) | |
tree | 5ebc033d08b05577a012dc3709093cd212e2fd10 /ext/mysqlnd/php_mysqlnd.c | |
parent | 9c96fe52d95a6674f90dc8efd4e2c054818c96ad (diff) | |
download | php-git-6e4cfa18f768c385e1945fcb4776cf6ad0cecdfc.tar.gz |
Really fix test pdo_mysql_class_constants.phpt
- with mysqlnd, constant always present
- with mysqli, check client library version
- without mysqlnd and without mysqli
skip the test if no connection
use connection to check client library
Note : MySQLPDOTest::getClientVersion() is broken with mysqlnd
as PDO::ATTR_CLIENT_VERSION return "mysqlnd 5.0.11-dev - 20120503..."
so, getClientVersion() return "11"
Diffstat (limited to 'ext/mysqlnd/php_mysqlnd.c')
0 files changed, 0 insertions, 0 deletions