summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2011-07-26 09:30:49 +0000
committerUlf Wendel <uw@php.net>2011-07-26 09:30:49 +0000
commitac9708ccf2e90d0e64498816f48c829fa9c2f604 (patch)
tree082842bb4ff9c0e528f06d07ddb73bb21d25b89d /ext
parent987db5f747d10b900653c544325fa5f7f7047b9a (diff)
downloadphp-git-ac9708ccf2e90d0e64498816f48c829fa9c2f604.tar.gz
Fix mysqlnd detection
Diffstat (limited to 'ext')
-rw-r--r--ext/pdo_mysql/tests/mysql_pdo_test.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc
index a3ffd5b9cc..0af2e6df65 100644
--- a/ext/pdo_mysql/tests/mysql_pdo_test.inc
+++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc
@@ -155,6 +155,7 @@ class MySQLPDOTest extends PDOTest {
phpinfo();
$tmp = ob_get_contents();
ob_end_clean();
+ $tmp = stristr($tmp, "PDO Driver for MySQL => enabled");
return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
}