Hi Alexander,
ok to push.
Regards,
Sergey
On Thu, Aug 12, 2010 at 05:33:44AM +0000, Alexander Barkov wrote:
> #At file:///home/bar/mysql-bzr/mysql-trunk-bugfixing.32391/ based on
> revid:alik@stripped
>
> 3162 Alexander Barkov 2010-08-12
> Bug#32391 Character sets: crash with --character-set-server
>
> 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.
...skip...
--
Sergey Vojtovich <svoj@stripped>
MySQL AB, Software Engineer
Izhevsk, Russia, www.mysql.com