You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENUM and SET values are returned as strings. For these, check that the type value is MYSQL_TYPE_STRING and that the ENUM_FLAG or SET_FLAG flag is set in the flags value.
It seems to me that this library could work around that inconsistency — or, at the very least, populate those flags into fieldFlags, to even make it possible to differentiate strings from enums and sets.
The text was updated successfully, but these errors were encountered:
ENUM and SET values show up with
fieldType = String
. This is actually an old upstream bug: https://bugs.mysql.com/bug.php?id=31134But the documentation has in fact been updated to reflect the status quo: https://dev.mysql.com/doc/refman/5.7/en/c-api-data-structures.html
It seems to me that this library could work around that inconsistency — or, at the very least, populate those flags into
fieldFlags
, to even make it possible to differentiate strings from enums and sets.The text was updated successfully, but these errors were encountered: