Skip to content

Commit

Permalink
fix build with WITH_EXTRA_CHARSETS=none in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex authored and grooverdan committed Apr 24, 2024
1 parent c3460e6 commit fb9af3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions strings/ctype-uca.c
Original file line number Diff line number Diff line change
Expand Up @@ -39437,18 +39437,24 @@ my_uca1400_collation_definition_init(MY_CHARSET_LOADER *loader,
*dst= nopad ? my_charset_utf8mb4_unicode_520_nopad_ci :
my_charset_utf8mb4_unicode_520_ci;
break;
#ifdef HAVE_CHARSET_ucs2
case MY_CS_ENCODING_UCS2:
*dst= nopad ? my_charset_ucs2_unicode_520_nopad_ci :
my_charset_ucs2_unicode_520_ci;
break;
#endif
#ifdef HAVE_CHARSET_utf16
case MY_CS_ENCODING_UTF16:
*dst= nopad ? my_charset_utf16_unicode_520_nopad_ci :
my_charset_utf16_unicode_520_ci;
break;
#endif
#ifdef HAVE_CHARSET_utf32
case MY_CS_ENCODING_UTF32:
*dst= nopad ? my_charset_utf32_unicode_520_nopad_ci :
my_charset_utf32_unicode_520_ci;
break;
#endif
}

dst->number= id;
Expand Down

0 comments on commit fb9af3f

Please sign in to comment.