PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/odbc/tests/odbc_columnprivileges_001.phpt ('odbc_columnprivileges(): Basic test')

Script

1: <?php
2:
3:
include 'config.inc';
4:
5:
$conn odbc_connect($dsn$user$pass);
6:
7:
var_dump($result odbc_columnprivileges($conn''''''''));
8:
var_dump(odbc_fetch_row($result));
9:
10:
var_dump($result odbc_columnprivileges($connNULLNULLNULLNULL));
11:
var_dump(odbc_fetch_row($result));
12:
13:
var_dump($result odbc_columnprivileges($conn'FOO''FOO''FOO''FOO'));
14:
var_dump(odbc_fetch_row($result));
15:
16:
?>
17:

Expected

resource(%d) of type (odbc result)
bool(false)
resource(%d) of type (odbc result)
bool(false)
resource(%d) of type (odbc result)
bool(false)

Output

Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 7
bool(false)

Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 8
NULL

Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 10
bool(false)

Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 11
NULL

Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 13
bool(false)

Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 14
NULL

Diff

001+ Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 7
001- resource(%d) of type (odbc result)
003+ 
004+ Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 8
005+ NULL
006+ 
007+ Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 10
003- resource(%d) of type (odbc result)
005- resource(%d) of type (odbc result)
009+ 
010+ Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 11
011+ NULL
012+ 
013+ Warning: odbc_columnprivileges(): SQL error: Failed to fetch error message, SQL state HY000 in SQLColumnPrivileges in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 13
015+ 
016+ Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in /var/php_gcov/PHP_HEAD/ext/odbc/tests/odbc_columnprivileges_001.php on line 14
017+ NULL

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (25 hours ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.