summaryrefslogtreecommitdiff
path: root/heap/hp_rnext.c
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-08-15 20:09:37 +0300
committermonty@donna.mysql.com <>2000-08-15 20:09:37 +0300
commitea013c2152301e459504451efdb17f4c9bb30877 (patch)
tree5f72e7444fbc3c8d944a66b54b26550a04e4f0be /heap/hp_rnext.c
parent807460bbceceec25bf97352bc5e232c3e766d70f (diff)
downloadmariadb-git-ea013c2152301e459504451efdb17f4c9bb30877.tar.gz
Fixed for Ia64 + delayed key creation + a lot of small bug fixes
Diffstat (limited to 'heap/hp_rnext.c')
-rw-r--r--heap/hp_rnext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_rnext.c b/heap/hp_rnext.c
index 1b775136655..6aa3cf06d97 100644
--- a/heap/hp_rnext.c
+++ b/heap/hp_rnext.c
@@ -37,7 +37,7 @@ int heap_rnext(HP_INFO *info, byte *record)
pos=0; /* Read next after last */
my_errno=HA_ERR_KEY_NOT_FOUND;
}
- else if (!info->current_ptr && (info->update & HA_STATE_PREV_FOUND))
+ else if (!info->current_ptr) /* Deleted or first call */
pos= _hp_search(info,share->keydef+info->lastinx, info->lastkey, 0);
else
pos= _hp_search(info,share->keydef+info->lastinx, info->lastkey, 1);