diff options
Diffstat (limited to 'heap/hp_rnext.c')
-rw-r--r-- | heap/hp_rnext.c | 2 |
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); |