mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
29 lines
651 B
PHP
29 lines
651 B
PHP
--TEST--
|
|
odbc_columnprivileges(): Basic test
|
|
--SKIPIF--
|
|
<?php include 'skipif.inc'; ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
include 'config.inc';
|
|
|
|
$conn = odbc_connect($dsn, $user, $pass);
|
|
|
|
var_dump($result = odbc_columnprivileges($conn, '', '', '', ''));
|
|
var_dump(odbc_fetch_row($result));
|
|
|
|
var_dump($result = odbc_columnprivileges($conn, NULL, NULL, NULL, NULL));
|
|
var_dump(odbc_fetch_row($result));
|
|
|
|
var_dump($result = odbc_columnprivileges($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)
|
|
resource(%d) of type (odbc result)
|
|
bool(false)
|