Skip to content

Revisit PR #840 - #919

Merged
sodabrew merged 2 commits into
brianmario:masterfrom
sodabrew:typedef_my_bool
Mar 19, 2018
Merged

Revisit PR #840#919
sodabrew merged 2 commits into
brianmario:masterfrom
sodabrew:typedef_my_bool

Conversation

@sodabrew

@sodabrew sodabrew commented Dec 3, 2017

Copy link
Copy Markdown
Collaborator

See #916

@sodabrew

sodabrew commented Dec 5, 2017

Copy link
Copy Markdown
Collaborator Author

This might not be needed after all, as it turns out #916 was a bug in MariaDB Connector/C 3.0.

MySQL 8.0 replaces my_bool with C99 bool. Earlier versions of MySQL had
a typedef to char. Gem users reported failures on big endian systems when
using C99 bool types with older MySQLs due to mismatched behavior.
@sodabrew

Copy link
Copy Markdown
Collaborator Author

I like that this removes a warning on older versions of MySQL. Merging.

@sodabrew
sodabrew merged commit 86c352d into brianmario:master Mar 19, 2018
@sodabrew
sodabrew deleted the typedef_my_bool branch March 19, 2018 23:30
@sodabrew sodabrew added this to the 0.5.0 milestone Mar 19, 2018
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.

1 participant