File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 4
4
- Fixed an error in mysqli_fetch_fields (returned NULL instead of an
5
5
array when row number > field_count). (Georg)
6
6
- Renamed CachingRecursiveIterator to RecursiveCachingIterator. (Marcus)
7
+ - FIxed bug #35536 (mysql_field_type() doesn't handle NEWDECIMAL). (Tony)
7
8
- Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry)
8
9
- Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of
9
10
soapenc:base64binary fails). (Dmitry)
Original file line number Diff line number Diff line change @@ -2175,6 +2175,9 @@ static char *php_mysql_get_field_name(int field_type)
2175
2175
case FIELD_TYPE_FLOAT :
2176
2176
case FIELD_TYPE_DOUBLE :
2177
2177
case FIELD_TYPE_DECIMAL :
2178
+ #ifdef FIELD_TYPE_NEWDECIMAL
2179
+ case FIELD_TYPE_NEWDECIMAL :
2180
+ #endif
2178
2181
return "real" ;
2179
2182
break ;
2180
2183
case FIELD_TYPE_TIMESTAMP :
@@ -2186,11 +2189,25 @@ static char *php_mysql_get_field_name(int field_type)
2186
2189
break ;
2187
2190
#endif
2188
2191
case FIELD_TYPE_DATE :
2192
+ #ifdef FIELD_TYPE_NEWDATE
2193
+ case FIELD_TYPE_NEWDATE :
2194
+ #endif
2189
2195
return "date" ;
2190
2196
break ;
2191
2197
case FIELD_TYPE_TIME :
2192
2198
return "time" ;
2193
2199
break ;
2200
+ case FIELD_TYPE_SET :
2201
+ return "set" ;
2202
+ break ;
2203
+ case FIELD_TYPE_ENUM :
2204
+ return "enum" ;
2205
+ break ;
2206
+ #ifdef FIELD_TYPE_GEOMETRY
2207
+ case FIELD_TYPE_GEOMETRY :
2208
+ return "geometry" ;
2209
+ break ;
2210
+ #endif
2194
2211
case FIELD_TYPE_DATETIME :
2195
2212
return "datetime" ;
2196
2213
break ;
You can’t perform that action at this time.
0 commit comments