Skip to content

Commit

Permalink
[CONJ-808] collation utf32 regression correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jul 22, 2020
1 parent aa8cdc6 commit d792793
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ private byte decideLanguage(int serverLanguage) {

if (serverLanguage >= 192 && serverLanguage <= 215) {
// equivalent utf8mb4 collation
return (byte) (serverLanguage - 32);
return (byte) (serverLanguage + 32);
}

return (byte) 224; // UTF8MB4_UNICODE_CI;
Expand Down

0 comments on commit d792793

Please sign in to comment.