summaryrefslogtreecommitdiff
path: root/merge
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-28 19:25:41 +0200
committermonty@donna.mysql.com <>2000-12-28 19:25:41 +0200
commit60677ffd2cceb0c8154ff73c8c17cc080f37bda4 (patch)
treee5a06533107ae2de5c6723f34705dd081f8c61bf /merge
parent767e2ef6d1cc82ce699418f6a2814ab0823ec320 (diff)
downloadmariadb-git-60677ffd2cceb0c8154ff73c8c17cc080f37bda4.tar.gz
Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
Diffstat (limited to 'merge')
-rw-r--r--merge/rrnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/merge/rrnd.c b/merge/rrnd.c
index 0abd72a3edd..e53982aca21 100644
--- a/merge/rrnd.c
+++ b/merge/rrnd.c
@@ -82,7 +82,7 @@ int mrg_rrnd(MRG_INFO *info,byte *buf,mrg_off_t filepos)
}
}
info->current_table=find_table(info->open_tables,
- info->end_table,filepos);
+ info->end_table-1,filepos);
isam_info=info->current_table->table;
isam_info->update&= HA_STATE_CHANGED;
return ((*isam_info->s->read_rnd)(isam_info,(byte*) buf,