Commit d310103
committed
Handle ColumnType.Enum. Fixes #850
In MySQL Server 8.0.21, an INFORMATION_SCHEMA column has changed from CHAR(5) to ENUM. Additionally, this new ENUM column is returned as MYSQL_TYPE_ENUM; other ENUM columns as still returned as MYSQL_TYPE_STRING with ENUM_FLAG set.
This updates the deserialization logic to handle ENUM and SET as strings.1 parent a9bfb2b commit d310103
File tree
3 files changed
+11
-0
lines changed- src/MySqlConnector/Core
3 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
275 | 282 | | |
276 | 283 | | |
277 | 284 | | |
| |||
0 commit comments