1--TEST--
2odbc_columnprivileges(): Basic test
3--SKIPIF--
4<?php include 'skipif.inc'; ?>
5--FILE--
6<?php
7
8include 'config.inc';
9
10$conn = odbc_connect($dsn, $user, $pass);
11
12var_dump($result = odbc_columnprivileges($conn, '', '', '', ''));
13var_dump(odbc_fetch_row($result));
14
15var_dump($result = odbc_columnprivileges($conn, NULL, NULL, NULL, NULL));
16var_dump(odbc_fetch_row($result));
17
18var_dump($result = odbc_columnprivileges($conn, 'FOO', 'FOO', 'FOO', 'FOO'));
19var_dump(odbc_fetch_row($result));
20
21?>
22--EXPECTF--
23resource(%d) of type (odbc result)
24bool(false)
25resource(%d) of type (odbc result)
26bool(false)
27resource(%d) of type (odbc result)
28bool(false)
29