File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ if (!$res->execute(array(false))) {
8888} else {
8989 print_r ($ res ->fetchAll (PDO ::FETCH_ASSOC ));
9090}
91- --EXPECT --
91+ --EXPECTF --
9292Array
9393(
9494 [0 ] => Array
@@ -117,7 +117,7 @@ Array
117117(
118118 [0 ] => 22 P02
119119 [1 ] => 7
120- [2 ] => ERROR : invalid input syntax for type boolean: ""
120+ [2 ] => %s : %sboolean%s
121121)
122122EMUL
123123Array
@@ -148,5 +148,5 @@ Array
148148(
149149 [0 ] => 22 P02
150150 [1 ] => 7
151- [2 ] => ERROR : invalid input syntax for type boolean: ""
151+ [2 ] => %s : %sboolean%s
152152)
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ array(6) {
259259 NULL
260260}
261261Testing pgsqlCopyFromArray() with error
262- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
262+ Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %stest_error %s
263263Testing pgsqlCopyFromFile() with default parameters
264264bool(true)
265265array(6) {
@@ -393,6 +393,6 @@ array(6) {
393393 NULL
394394}
395395Testing pgsqlCopyFromFile() with error
396- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
396+ Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %stest_error %s
397397Testing pgsqlCopyFromFile() with non existing file
398398Exception: SQLSTATE[HY000]: General error: 7 Unable to open the file
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ array(3) {
116116"
117117}
118118Testing pgsqlCopyToArray() with error
119- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
119+ Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %stest_error %s
120120Testing pgsqlCopyToFile() with default parameters
121121bool(true)
1221220 test insert 0 \N
@@ -133,6 +133,6 @@ bool(true)
1331331;NULL
1341342;NULL
135135Testing pgsqlCopyToFile() with error
136- Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %s "test_error" %s
136+ Exception: SQLSTATE[42P01]: Undefined table: 7 %s: %stest_error %s
137137Testing pgsqlCopyToFile() to unwritable file
138138Exception: SQLSTATE[HY000]: General error: 7 Unable to open the file for writing
You can’t perform that action at this time.
0 commit comments