From fb232f7e540b8b339b5a36358cad3d16f8cd7a2f Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Mon, 25 Oct 2004 10:23:38 +0200 Subject: [PATCH] don't hang if the text contains illegal characters --- myisam/ft_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c index b0fe180d0fb..543cf998a82 100644 --- a/myisam/ft_parser.c +++ b/myisam/ft_parser.c @@ -174,7 +174,7 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end, FT_WORD *word) { byte *doc= *start; - uint mwc, length; + uint mwc, length, mbl; DBUG_ENTER("ft_simple_get_word"); while (docpos=doc; docpos=doc; doc