Skip to content

Commit 8e2378a

Browse files
committed
Fix test case
This test case has apparently been overlooked, when the PDO result bindings had been rewritten[1]. [1] <caa7100>
1 parent f800c60 commit 8e2378a

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

ext/pdo_pgsql/tests/bug62498-32bit.phpt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ array(9) {
5858
string(13) "bugtest_62498"
5959
["native_type"]=>
6060
string(4) "int2"
61+
["pdo_type"]=>
62+
int(1)
6163
["name"]=>
6264
string(7) "int2col"
6365
["len"]=>
6466
int(2)
6567
["precision"]=>
6668
int(-1)
67-
["pdo_type"]=>
68-
int(1)
6969
}
7070
[1]=>
7171
array(8) {
@@ -77,14 +77,14 @@ array(9) {
7777
string(13) "bugtest_62498"
7878
["native_type"]=>
7979
string(4) "int4"
80+
["pdo_type"]=>
81+
int(1)
8082
["name"]=>
8183
string(7) "int4col"
8284
["len"]=>
8385
int(4)
8486
["precision"]=>
8587
int(-1)
86-
["pdo_type"]=>
87-
int(1)
8888
}
8989
[2]=>
9090
array(8) {
@@ -96,14 +96,14 @@ array(9) {
9696
string(13) "bugtest_62498"
9797
["native_type"]=>
9898
string(4) "int8"
99+
["pdo_type"]=>
100+
int(1)
99101
["name"]=>
100102
string(7) "int8col"
101103
["len"]=>
102104
int(8)
103105
["precision"]=>
104106
int(-1)
105-
["pdo_type"]=>
106-
int(2)
107107
}
108108
[3]=>
109109
array(8) {
@@ -115,14 +115,14 @@ array(9) {
115115
string(13) "bugtest_62498"
116116
["native_type"]=>
117117
string(7) "varchar"
118+
["pdo_type"]=>
119+
int(2)
118120
["name"]=>
119121
string(9) "stringcol"
120122
["len"]=>
121123
int(-1)
122124
["precision"]=>
123125
int(259)
124-
["pdo_type"]=>
125-
int(2)
126126
}
127127
[4]=>
128128
array(8) {
@@ -134,14 +134,14 @@ array(9) {
134134
string(13) "bugtest_62498"
135135
["native_type"]=>
136136
string(4) "bool"
137+
["pdo_type"]=>
138+
int(5)
137139
["name"]=>
138140
string(7) "boolcol"
139141
["len"]=>
140142
int(1)
141143
["precision"]=>
142144
int(-1)
143-
["pdo_type"]=>
144-
int(5)
145145
}
146146
[5]=>
147147
array(8) {
@@ -153,14 +153,14 @@ array(9) {
153153
string(13) "bugtest_62498"
154154
["native_type"]=>
155155
string(4) "date"
156+
["pdo_type"]=>
157+
int(2)
156158
["name"]=>
157159
string(7) "datecol"
158160
["len"]=>
159161
int(4)
160162
["precision"]=>
161163
int(-1)
162-
["pdo_type"]=>
163-
int(2)
164164
}
165165
[6]=>
166166
array(8) {
@@ -172,14 +172,14 @@ array(9) {
172172
string(13) "bugtest_62498"
173173
["native_type"]=>
174174
string(4) "text"
175+
["pdo_type"]=>
176+
int(2)
175177
["name"]=>
176178
string(7) "textcol"
177179
["len"]=>
178180
int(-1)
179181
["precision"]=>
180182
int(-1)
181-
["pdo_type"]=>
182-
int(2)
183183
}
184184
[7]=>
185185
array(8) {
@@ -191,14 +191,14 @@ array(9) {
191191
string(13) "bugtest_62498"
192192
["native_type"]=>
193193
string(9) "timestamp"
194+
["pdo_type"]=>
195+
int(2)
194196
["name"]=>
195197
string(5) "tscol"
196198
["len"]=>
197199
int(8)
198200
["precision"]=>
199201
int(-1)
200-
["pdo_type"]=>
201-
int(2)
202202
}
203203
[8]=>
204204
array(8) {
@@ -210,14 +210,14 @@ array(9) {
210210
string(13) "bugtest_62498"
211211
["native_type"]=>
212212
string(5) "bytea"
213+
["pdo_type"]=>
214+
int(3)
213215
["name"]=>
214216
string(8) "byteacol"
215217
["len"]=>
216218
int(-1)
217219
["precision"]=>
218220
int(-1)
219-
["pdo_type"]=>
220-
int(3)
221221
}
222222
}
223223
Done

0 commit comments

Comments
 (0)