summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-03-12 11:52:41 +0200
committermonty@hundin.mysql.fi <>2002-03-12 11:52:41 +0200
commit8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9 (patch)
treecc5ddb707fd6b0aa9b53c89ae0d0fc731486fef9 /heap
parentc4b8c1b6c053a51d5c4187145741dda5ea20715a (diff)
downloadmariadb-git-8eadb024dcf60ad16c9d9246a9f8cdfeeaa501e9.tar.gz
Fixed mysqldumpslow for new dump format.
Fix for HEAP tables with many rows deleted. Add '' arround database names in SHOW GRANT
Diffstat (limited to 'heap')
-rw-r--r--heap/hp_rfirst.c5
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;