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

Add explicit boolean typecast for boolean types (mysql fix) #35

Closed
wants to merge 1 commit into from

Conversation

mgraham
Copy link

@mgraham mgraham commented Apr 23, 2015

This is an incomplete PR and still needs work, but it fixes the immediate problem we had, and I'm submitting it to get the conversation started.

When running the test suite under the mysql2 driver there are 24 test failures. With this pull request there are 14 test failures.

Some work needs to be done to get the test suite running under mysql2, I think.

@anthonyjsmith
Copy link
Contributor

See PR #52 - hopefully fixes this. It was performing the wrong typecast - it was finding that booleans are stored in MySQL as TINYINT, and performing the wrong type conversion as a consequence.

@kratob
Copy link
Member

kratob commented Apr 8, 2016

Since the test suite runs on mysql2 by now, I assume this has been resolved.

@kratob kratob closed this Apr 8, 2016
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

Successfully merging this pull request may close these issues.

3 participants