Skip to content

Commit

Permalink
Thanks 'james' (a visitor to my blog) for reporting this bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jul 14, 2005
1 parent 695e195 commit d025a14
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ext/pdo_mysql/tests/show_tables.phpt
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit d025a14

Please sign in to comment.