-
Committer:
Alexey Botchkov
-
Date:
2012-04-06 08:31:33 UTC
-
Revision ID:
holyfoot@askmonty.org-20120406083133-j6s0hqnkaimuct1r
MDEV-80 Memory engine table full at much less than max_heap_table_size with btree index.
RB-tree index in the MEMORY table fails if it grews over 4G.
That happened because the old_allocated variable in hp_rb_write_key()
had the uint type. Changed with the 'size_t' type to be same as the
'rb_tree.allocated'.
per-file comments:
storage/heap/hp_write.c
MDEV-80 Memory engine table full at much less than max_heap_table_size with btree index.
uint->size_t for the 'old_allocated'.