-
-
Notifications
You must be signed in to change notification settings - Fork 234
Db/fix collations #186
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
Db/fix collations #186
Conversation
s, ok := CollationToMySQLVals[c] | ||
if !ok { | ||
return Y | ||
} | ||
return s.IsDefault |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be
if c == Collation_Default {
return Y
}
return N
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leaving as is
97c6e10
to
c052c03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite what mysql does, see comments
enginetest/queries.go
Outdated
}, | ||
{ | ||
sql.Collation_utf8_general_ci.String(), | ||
"utf8mb3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mysql reports this as "utf8"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Darn it Zach, utf8mb3
and utf8
are aliases. utf8
is deprecated so we're explicit in using utf8mb3
if you pass in utf8
.
No description provided.