cvs: php-src /ext/pdo_mysql/tests show_tables.phpt
| From: | Wez Furlong | Date: | Thu, 14 Jul 2005 02:09:54 +0000 |
| Subject: | cvs: php-src /ext/pdo_mysql/tests show_tables.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32917@lists.php.net to get a copy of this message | ||
wez Wed Jul 13 22:09:54 2005 EDT
Added files:
/php-src/ext/pdo_mysql/tests show_tables.phpt
Log:
Thanks 'james' (a visitor to my blog) for reporting this bug.
http://cvs.php.net/co.php/php-src/ext/pdo_mysql/tests/show_tables.phpt?r=1.1&p=1
Index: php-src/ext/pdo_mysql/tests/show_tables.phpt
+++ php-src/ext/pdo_mysql/tests/show_tables.phpt
--TEST--
PDO MySQL SHOW TABLES
--SKIPIF--
<?php # vim:ft=php
if (!extension_loaded('pdo_mysql')) print 'skip not loaded';
?>
--FILE--
<?php
require 'ext/pdo/tests/pdo_test.inc';
$db = PDOTest::test_factory('ext/pdo_mysql/tests/common.phpt');
print_r($db->query('SHOW TABLES'));
--EXPECT--
PDOStatement Object
(
[queryString] => SHOW TABLES
)