diff options
Diffstat (limited to 'heap')
-rw-r--r-- | heap/hp_rfirst.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/heap/hp_rfirst.c b/heap/hp_rfirst.c index b20918ff3a7..9a1f09244a0 100644 --- a/heap/hp_rfirst.c +++ b/heap/hp_rfirst.c @@ -21,11 +21,6 @@ int heap_rfirst(HP_INFO *info, byte *record) { DBUG_ENTER("heap_rfirst"); - if (!(info->s->records)) - { - my_errno=HA_ERR_END_OF_FILE; - DBUG_RETURN(my_errno); - } info->current_record=0; info->current_hash_ptr=0; info->update=HA_STATE_PREV_FOUND; |