We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de84e6 commit b0910ddCopy full SHA for b0910dd
storage/innobase/handler/ha_innodb.cc
@@ -9437,12 +9437,10 @@ ha_innobase::ft_init_ext(
9437
}
9438
9439
9440
- /* FIXME: utf32 and utf16 are not compatible with some
9441
- string function used. So to convert them to uft8 before
9442
- we proceed. */
9443
- if (strcmp(char_set->csname, "utf32") == 0
9444
- || strcmp(char_set->csname, "utf16") == 0) {
9445
-
+ /* Multi byte character sets like utf32 and utf16 are not
+ compatible with some string function used. So to convert them
+ to uft8 before we proceed. */
+ if (char_set->mbminlen != 1) {
9446
buf_tmp_used = innobase_convert_string(
9447
buf_tmp, sizeof(buf_tmp) - 1,
9448
&my_charset_utf8mb3_general_ci,
0 commit comments