Open jogrogan opened 7 months ago
@jogrogan I made a Pr for this Issue
@sean-k1 @osheroff We are a bit behind on versions, using 0.26.1 where we noticed this issue. If the fix gets merged in is it possible to hotfix a new version off of this one as well, say 0.26.1.1?
Running into TABLE_MAP deserialization errors when a table contains enum columns with non-matching charsets.
Error:
Steps to reproduce:
utf8
which in the latest version of mysql refers toutf8mb3
--- No errors when inserting/updating records ---
utf8mb4
which is the table default--- Above deserialization error is thrown when running an update ---
--- No error again when updating records because both columns are utf8mb3 --- Same correct behavior verified if we had instead updated
enum_column
toutf8mb4
to match whatuserType
was before this change.I imagine this error is happening where the types are parsed in the TABLE_MAP event, the exception is a bit misleading since the EOFException happens later. This would likely happen for SETs too but this is unverified.