diff options
author | Wez Furlong <wez@php.net> | 2005-07-14 02:09:54 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-07-14 02:09:54 +0000 |
commit | d025a14d33f7e9568f7f6d9630ab86d5b4e11b35 (patch) | |
tree | eeae6e43411481d683471a7081e3e49af69b6757 /ext/pdo_mysql | |
parent | 695e195a27a603eb37d21537294781b04b425559 (diff) | |
download | php-git-d025a14d33f7e9568f7f6d9630ab86d5b4e11b35.tar.gz |
Thanks 'james' (a visitor to my blog) for reporting this bug.
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r-- | ext/pdo_mysql/tests/show_tables.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/pdo_mysql/tests/show_tables.phpt b/ext/pdo_mysql/tests/show_tables.phpt new file mode 100644 index 0000000000..8919b6b778 --- /dev/null +++ b/ext/pdo_mysql/tests/show_tables.phpt @@ -0,0 +1,17 @@ +--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 +) |