Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL type BIT is not a boolean #241

Open
schveiguy opened this issue Jun 7, 2021 · 0 comments
Open

MySQL type BIT is not a boolean #241

schveiguy opened this issue Jun 7, 2021 · 0 comments

Comments

@schveiguy
Copy link
Collaborator

Currently, the library expects BIT type to really be a boolean. But it's not, it's a bitfield (an array of bits).

MySQL normally treats BOOL or BOOLEAN types as TINYINT, which means that's what we should do for bool.

This probably requires a deprecation period, but this should be done after the @safe update is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant