felipe Thu May 14 23:29:28 2009 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/odbc/tests odbc_columns_001.phpt
odbc_data_source_001.phpt
odbc_exec_001.phpt
odbc_free_result_001.phpt
Log:
- Fix tests
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/tests/odbc_columns_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/odbc/tests/odbc_columns_001.phpt
diff -u php-src/ext/odbc/tests/odbc_columns_001.phpt:1.1.4.2
php-src/ext/odbc/tests/odbc_columns_001.phpt:1.1.4.3
--- php-src/ext/odbc/tests/odbc_columns_001.phpt:1.1.4.2 Thu May 14
01:29:37 2009
+++ php-src/ext/odbc/tests/odbc_columns_001.phpt Thu May 14 23:29:27 2009
@@ -28,5 +28,5 @@
Warning: odbc_columns(): SQL error: Failed to fetch error message, SQL state
HY000 in SQLColumns in %s on line %d
bool(false)
-Warning: odbc_fetch_row() expects parameter 1 to be resource, boolean given in
%s on line %d
-NULL
+Warning: odbc_fetch_row(): supplied argument is not a valid ODBC result
resource in %s on line %d
+bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/tests/odbc_data_source_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/odbc/tests/odbc_data_source_001.phpt
diff -u php-src/ext/odbc/tests/odbc_data_source_001.phpt:1.1.4.2
php-src/ext/odbc/tests/odbc_data_source_001.phpt:1.1.4.3
--- php-src/ext/odbc/tests/odbc_data_source_001.phpt:1.1.4.2 Thu May 14
01:29:37 2009
+++ php-src/ext/odbc/tests/odbc_data_source_001.phpt Thu May 14 23:29:27 2009
@@ -18,8 +18,8 @@
Warning: odbc_data_source(): Invalid fetch type (0) in %s on line %d
bool(false)
-Warning: odbc_data_source() expects parameter 2 to be long, string given in %s
on line %d
-NULL
+Warning: odbc_data_source(): Invalid fetch type (0) in %s on line %d
+bool(false)
array(%d) {
%a
}
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/tests/odbc_exec_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/odbc/tests/odbc_exec_001.phpt
diff -u php-src/ext/odbc/tests/odbc_exec_001.phpt:1.1.4.2
php-src/ext/odbc/tests/odbc_exec_001.phpt:1.1.4.3
--- php-src/ext/odbc/tests/odbc_exec_001.phpt:1.1.4.2 Mon May 11 03:10:31 2009
+++ php-src/ext/odbc/tests/odbc_exec_001.phpt Thu May 14 23:29:27 2009
@@ -23,11 +23,11 @@
?>
--EXPECTF--
-Warning: odbc_exec() expects parameter 3 to be long, %unicode_string_optional%
given in %s on line %d
+Warning: odbc_exec(): SQL error: %s in %s on line %d
Warning: odbc_exec(): SQL error: %s in %s on line %d
-Warning: odbc_exec() expects parameter 3 to be long, %unicode_string_optional%
given in %s on line %d
+Warning: odbc_exec(): SQL error: %s in %s on line %d
Warning: odbc_exec(): SQL error: %s in %s on line %d
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/tests/odbc_free_result_001.phpt?r1=1.1.4.2&r2=1.1.4.3&diff_format=u
Index: php-src/ext/odbc/tests/odbc_free_result_001.phpt
diff -u php-src/ext/odbc/tests/odbc_free_result_001.phpt:1.1.4.2
php-src/ext/odbc/tests/odbc_free_result_001.phpt:1.1.4.3
--- php-src/ext/odbc/tests/odbc_free_result_001.phpt:1.1.4.2 Thu May 14
01:29:37 2009
+++ php-src/ext/odbc/tests/odbc_free_result_001.phpt Thu May 14 23:29:27 2009
@@ -40,8 +40,8 @@
Warning: odbc_free_result(): supplied resource is not a valid ODBC result
resource in %s on line %d
bool(false)
-Warning: odbc_free_result() expects parameter 1 to be resource, null given in
%s on line %d
-NULL
+Warning: odbc_free_result(): supplied argument is not a valid ODBC result
resource in %s on line %d
+bool(false)
Warning: odbc_fetch_row(): %d is not a valid ODBC result resource in %s on
line %d
bool(false)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php