Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:activerecord-jdbc-adapter-0.8.1
-
Patch Submitted:Yes
-
Number of attachments :
Description
ActiveRecord-JDBC forces the utf8_bin collation while creating a MySQL database, which is at least strange.
utf8_bin provides case-sensitive collation that corresponds exactly to the order of unicode code points. It is way different from the default case-insensitive utf8_general_ci collation for utf8 data.
Very interesting. I would guess one of two things are true:
Either way, the patch seems pretty harmless, and it sounds like the default collation is what we actually want. Nick?
- There was a reason to do it this way, and it was never documented
- Some old code did it this way, and nobody has bothered to change it
Either way, the patch seems pretty harmless, and it sounds like the default collation is what we actually want. Nick?