]> granicus.if.org Git - php/commitdiff
- Fix tests
authorFelipe Pena <felipe@php.net>
Thu, 14 May 2009 23:29:27 +0000 (23:29 +0000)
committerFelipe Pena <felipe@php.net>
Thu, 14 May 2009 23:29:27 +0000 (23:29 +0000)
ext/odbc/tests/odbc_columns_001.phpt
ext/odbc/tests/odbc_data_source_001.phpt
ext/odbc/tests/odbc_exec_001.phpt
ext/odbc/tests/odbc_free_result_001.phpt

index f6da78e8e713f4ad390db2174ab2f40b4440441b..993221311724f7d745d5bd451a7e7537d954a285 100644 (file)
@@ -28,5 +28,5 @@ bool(false)
 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)
index 17a826f0d0809999c985b90ab4cbb1b60c9399f7..44761fe3a22247b3feca61dd488f5f81d32a8d14 100644 (file)
@@ -18,8 +18,8 @@ var_dump(odbc_data_source($conn, SQL_FETCH_FIRST));
 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
 }
index c525a962b1bd1e6ea702a9daef6af2f7fa4e1b16..02b16ae4ee29b6eba6204cde1f00f09526562297 100644 (file)
@@ -23,11 +23,11 @@ odbc_exec($conn, NULL);
 
 ?>
 --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
 
index 4fcd5cda2cc712c963cf48057612586bdde739a6..cd7a15e1195fdcb1343b38961ade12592808e9f0 100644 (file)
@@ -40,8 +40,8 @@ bool(true)
 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)