summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/tests/mysql_pdo_test.inc
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/pdo_mysql/tests/mysql_pdo_test.inc
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/pdo_mysql/tests/mysql_pdo_test.inc')
-rw-r--r--ext/pdo_mysql/tests/mysql_pdo_test.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc
index aa98d1464a..bf5f49db56 100644
--- a/ext/pdo_mysql/tests/mysql_pdo_test.inc
+++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc
@@ -155,7 +155,7 @@ class MySQLPDOTest extends PDOTest {
phpinfo();
$tmp = ob_get_contents();
ob_end_clean();
- return (bool)preg_match('/Client API version.*mysqlnd/', $tmp);
+ return (true == stristr($tmp, 'PDO Driver for MySQL, mysql native driver version'));
}
}