summaryrefslogtreecommitdiff
path: root/ext/odbc/tests/odbc_tables_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/odbc/tests/odbc_tables_001.phpt')
-rw-r--r--ext/odbc/tests/odbc_tables_001.phpt12
1 files changed, 10 insertions, 2 deletions
diff --git a/ext/odbc/tests/odbc_tables_001.phpt b/ext/odbc/tests/odbc_tables_001.phpt
index 6b922f25e6..420c41cda8 100644
--- a/ext/odbc/tests/odbc_tables_001.phpt
+++ b/ext/odbc/tests/odbc_tables_001.phpt
@@ -12,18 +12,26 @@ $conn = odbc_connect($dsn, $user, $pass);
var_dump($result = odbc_tables($conn, '', '', '', ''));
var_dump(odbc_fetch_row($result));
+var_dump($result = odbc_tables($conn));
+var_dump(odbc_fetch_row($result));
+var_dump(odbc_free_result($result));
+
var_dump($result = odbc_tables($conn, NULL, NULL, NULL, NULL));
var_dump(odbc_fetch_row($result));
+var_dump(odbc_free_result($result));
var_dump($result = odbc_tables($conn, 'FOO', 'FOO', 'FOO', 'FOO'));
var_dump(odbc_fetch_row($result));
-
?>
--EXPECTF--
resource(%d) of type (odbc result)
bool(false)
resource(%d) of type (odbc result)
-bool(false)
+bool(true)
+bool(true)
+resource(%d) of type (odbc result)
+bool(true)
+bool(true)
resource(%d) of type (odbc result)
bool(false)