Skip to content
  • Alexander Barkov's avatar
    1ca3e847
    Bug#32391 Character sets: crash with --character-set-server · 1ca3e847
    Alexander Barkov authored
    Problem:
    mysqld crashed on initialization of the built-in stopwords
    when started with --character-set-server=utf16.
    ft_init_stopwords() mistakenly compared the built-in 
    stopwords using "utf16" as character set, which lead
    to exit on DBUG_ASSERT((slen % 2) == 0) in
    my_strnncollsp_utf16() when comparing a word with an even length
    (for example word="about", len=5).
    
    Fix:
    Using latin1 when initializing the built-in stopwords   
    for the "tricky" character sets.
    1ca3e847
    Bug#32391 Character sets: crash with --character-set-server
    Alexander Barkov authored
    Problem:
    mysqld crashed on initialization of the built-in stopwords
    when started with --character-set-server=utf16.
    ft_init_stopwords() mistakenly compared the built-in 
    stopwords using "utf16" as character set, which lead
    to exit on DBUG_ASSERT((slen % 2) == 0) in
    my_strnncollsp_utf16() when comparing a word with an even length
    (for example word="about", len=5).
    
    Fix:
    Using latin1 when initializing the built-in stopwords   
    for the "tricky" character sets.
Loading