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))) {
88
88
} else {
89
89
print_r ($ res ->fetchAll (PDO ::FETCH_ASSOC ));
90
90
}
91
- --EXPECT --
91
+ --EXPECTF --
92
92
Array
93
93
(
94
94
[0 ] => Array
@@ -117,7 +117,7 @@ Array
117
117
(
118
118
[0 ] => 22 P02
119
119
[1 ] => 7
120
- [2 ] => ERROR : invalid input syntax for type boolean: ""
120
+ [2 ] => %s : %sboolean%s
121
121
)
122
122
EMUL
123
123
Array
@@ -148,5 +148,5 @@ Array
148
148
(
149
149
[0 ] => 22 P02
150
150
[1 ] => 7
151
- [2 ] => ERROR : invalid input syntax for type boolean: ""
151
+ [2 ] => %s : %sboolean%s
152
152
)
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ array(6) {
259
259
NULL
260
260
}
261
261
Testing 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
263
263
Testing pgsqlCopyFromFile() with default parameters
264
264
bool(true)
265
265
array(6) {
@@ -393,6 +393,6 @@ array(6) {
393
393
NULL
394
394
}
395
395
Testing 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
397
397
Testing pgsqlCopyFromFile() with non existing file
398
398
Exception: 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) {
116
116
"
117
117
}
118
118
Testing 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
120
120
Testing pgsqlCopyToFile() with default parameters
121
121
bool(true)
122
122
0 test insert 0 \N
@@ -133,6 +133,6 @@ bool(true)
133
133
1;NULL
134
134
2;NULL
135
135
Testing 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
137
137
Testing pgsqlCopyToFile() to unwritable file
138
138
Exception: SQLSTATE[HY000]: General error: 7 Unable to open the file for writing
You can’t perform that action at this time.
0 commit comments