summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc
index 8a4758aa558..1abaa63de68 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -36,7 +36,7 @@ int ha_heap::open(const char *name, int mode, uint test_if_locked)
uint key,parts,mem_per_row=0;
ulong max_rows;
HP_KEYDEF *keydef;
- MI_KEYSEG *seg;
+ HA_KEYSEG *seg;
for (key=parts=0 ; key < table->keys ; key++)
{
@@ -48,9 +48,9 @@ int ha_heap::open(const char *name, int mode, uint test_if_locked)
}
if (!(keydef=(HP_KEYDEF*) my_malloc(table->keys*sizeof(HP_KEYDEF)+
- parts*sizeof(MI_KEYSEG),MYF(MY_WME))))
+ parts*sizeof(HA_KEYSEG),MYF(MY_WME))))
return my_errno;
- seg=my_reinterpret_cast(MI_KEYSEG*) (keydef+table->keys);
+ seg=my_reinterpret_cast(HA_KEYSEG*) (keydef+table->keys);
for (key=0 ; key < table->keys ; key++)
{
KEY *pos=table->key_info+key;