summaryrefslogtreecommitdiff
path: root/myisam/ft_parser.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-10-24 13:23:06 +0200
committerunknown <serg@serg.mylan>2003-10-24 13:23:06 +0200
commit6b516a37abb1e0a9b1e8dfd65f274903ab1e27e0 (patch)
treee9ecdd8dbbc878379e06e54684d654b1de98d1da /myisam/ft_parser.c
parent21f9a3a8acd7d3a67fc4a875506df7bc8e197e8b (diff)
downloadmariadb-git-6b516a37abb1e0a9b1e8dfd65f274903ab1e27e0.tar.gz
style fixes
Diffstat (limited to 'myisam/ft_parser.c')
-rw-r--r--myisam/ft_parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/myisam/ft_parser.c b/myisam/ft_parser.c
index 8ab67aa9c6f..0318bcbed10 100644
--- a/myisam/ft_parser.c
+++ b/myisam/ft_parser.c
@@ -145,7 +145,7 @@ byte ft_get_word(CHARSET_INFO *cs, byte **start, byte *end,
byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
FT_WORD *word)
{
- byte *doc=*start;
+ byte *doc= *start;
uint mwc, length;
DBUG_ENTER("ft_simple_get_word");
@@ -156,10 +156,10 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
if (true_word_char(cs,*doc)) break;
}
- mwc=length=0;
- for(word->pos=doc; doc<end; length++, doc+=my_mbcharlen(cs, *(uchar *)doc))
+ mwc= length= 0;
+ for (word->pos=doc; doc<end; length++, doc+=my_mbcharlen(cs, *(uchar *)doc))
if (true_word_char(cs,*doc))
- mwc=0;
+ mwc= 0;
else if (!misc_word_char(*doc) || mwc++)
break;
@@ -168,7 +168,7 @@ byte ft_simple_get_word(CHARSET_INFO *cs, byte **start, byte *end,
if (length >= ft_min_word_len && length < ft_max_word_len &&
!is_stopword(word->pos, word->len))
{
- *start=doc;
+ *start= doc;
DBUG_RETURN(1);
}
}