summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <paul@ice.snake.net>2003-06-11 16:27:26 -0500
committerunknown <paul@ice.snake.net>2003-06-11 16:27:26 -0500
commit129cb8e9c0d45df6d74c91542086e8cf98850d48 (patch)
treec2d0186deda54fd98db7c63d5a410b266a39efc2 /myisam
parent5693a27220bdcea41811d5add2275ba911899983 (diff)
downloadmariadb-git-129cb8e9c0d45df6d74c91542086e8cf98850d48.tar.gz
ft_update.c:
Fix parse error per serg instructions. myisam/ft_update.c: Fix parse error per serg instructions. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'myisam')
-rw-r--r--myisam/ft_update.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/myisam/ft_update.c b/myisam/ft_update.c
index 365fe0d98e3..cdf3b306087 100644
--- a/myisam/ft_update.c
+++ b/myisam/ft_update.c
@@ -64,8 +64,18 @@ uint _mi_ft_segiterator(register FT_SEG_ITERATOR *ftsi)
{
DBUG_ENTER("_mi_ft_segiterator");
- if (!ftsi->num) DBUG_RETURN(0) else ftsi->num--;
- if (!ftsi->seg) DBUG_RETURN(1) else ftsi->seg--;
+ if (!ftsi->num)
+ {
+ DBUG_RETURN(0);
+ }
+ else
+ ftsi->num--;
+ if (!ftsi->seg)
+ {
+ DBUG_RETURN(1);
+ }
+ else
+ ftsi->seg--;
if (ftsi->seg->null_bit &&
(ftsi->rec[ftsi->seg->null_pos] & ftsi->seg->null_bit))