Commit 38268be4 authored by paul@ice.snake.net's avatar paul@ice.snake.net

ft_update.c:

  Fix parse error per serg instructions.
parent 4b2fa4ea
...@@ -77,6 +77,7 @@ nick@mysql.com ...@@ -77,6 +77,7 @@ nick@mysql.com
nick@nick.leippe.com nick@nick.leippe.com
papa@gbichot.local papa@gbichot.local
paul@central.snake.net paul@central.snake.net
paul@ice.snake.net
paul@teton.kitebird.com paul@teton.kitebird.com
pem@mysql.com pem@mysql.com
peter@linux.local peter@linux.local
......
...@@ -64,8 +64,18 @@ uint _mi_ft_segiterator(register FT_SEG_ITERATOR *ftsi) ...@@ -64,8 +64,18 @@ uint _mi_ft_segiterator(register FT_SEG_ITERATOR *ftsi)
{ {
DBUG_ENTER("_mi_ft_segiterator"); DBUG_ENTER("_mi_ft_segiterator");
if (!ftsi->num) DBUG_RETURN(0) else ftsi->num--; if (!ftsi->num)
if (!ftsi->seg) DBUG_RETURN(1) else ftsi->seg--; {
DBUG_RETURN(0);
}
else
ftsi->num--;
if (!ftsi->seg)
{
DBUG_RETURN(1);
}
else
ftsi->seg--;
if (ftsi->seg->null_bit && if (ftsi->seg->null_bit &&
(ftsi->rec[ftsi->seg->null_pos] & ftsi->seg->null_bit)) (ftsi->rec[ftsi->seg->null_pos] & ftsi->seg->null_bit))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment