-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support for MariaDB? #99
Comments
I'm fine accepting maria-db issues. It would like it to be an alternative for users. Those specs that are failing are because it seems mariadb and mysql do not agree on the type on a The following works with maria-db (but will not with mysql) sample_value 1, "int", "1" # , type_safe_value: false
sample_value 1_i64, "bigint", "1", type_safe_value: false
# ...
sample_value -1, "int", "-1" # , type_safe_value: false
sample_value -1_i64, "bigint", "-1", type_safe_value: false With I could not find any documentation regarding this differences. So the actionable thing is probably to:
|
And to be clear that means crystal-mysql would not be able to guarantee the type of a scalar value. Which is not great. But I think this can be handled by crystal-db directly if we allow some type conversions (ie: |
Hello @bcardiff, thanks for your response and your patience, missed this in my inbox. Thanks for providing the details, I was able to find the reference about that change in MDEV-16347, indicating that the change was intentional from MDEV-12619. Perhaps the spec/test can be adjusted to evaluate first the data type of Cheers. |
Hello folks,
Recently had the need to migrate from MySQL 5.7 to MariaDB (10.3 at first, 10.5 at some point), and wanted to confirm crystal-mysql adapter will work against it.
When running specs, encountered only 2 failures:
Before I commit some time to this, I would like to know if MariaDB should be considered supported (given the current MySQL 8 situation about authentication plugins) and if so, then I could contribute the required fixes.
Thank you in advance.
❤️ ❤️ ❤️
The text was updated successfully, but these errors were encountered: