1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00
This commit is contained in:
Johannes Schlüter
2008-10-01 19:45:02 +00:00
parent e632946e9b
commit fed9b35095
+3 -7
View File
@@ -18,17 +18,13 @@ $db = MySQLPDOTest::factory();
ob_end_clean();
/* PDO Driver for MySQL, client library version => 6.0.3-alpha */
$expected = sprintf('PDO Driver for MySQL, client library version => %s',
$expected = sprintf('Client API version => %s',
$db->getAttribute(PDO::ATTR_CLIENT_VERSION));
if (false === stristr($tmp, $expected)) {
// maybe its PDO_MYSQLND
$expected = sprintf('PDO Driver for MySQL, mysql native driver version => %s',
$db->getAttribute(PDO::ATTR_CLIENT_VERSION));
if (false === stristr($tmp, $expected))
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");
printf("[001] Cannot find MySQL PDO driver line in phpinfo() output\n");
}
print "done!";
--EXPECT--
done!
done!