Annotation of embedaddon/php/ext/pdo_mysql/tests/show_tables.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: PDO MySQL SHOW TABLES
! 3: --SKIPIF--
! 4: <?php
! 5: if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
! 6: require dirname(__FILE__) . '/config.inc';
! 7: require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
! 8: PDOTest::skip();
! 9: ?>
! 10: --FILE--
! 11: <?php
! 12: require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
! 13: $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
! 14:
! 15: print_r($db->query('SHOW TABLES'));
! 16: --EXPECT--
! 17: PDOStatement Object
! 18: (
! 19: [queryString] => SHOW TABLES
! 20: )
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>