1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/heap
svoj@april.(none) 06ce215f10 BUG#18160 - Memory-/HEAP Table endless growing indexes
Updating data in HEAP table with BTREE index results in wrong index_length
counter value, which keeps growing after each update.

When inserting new record into tree counter is incremented by:
sizeof(TREE_ELEMENT) + key_size + tree->size_of_element
But when deleting element from tree it doesn't decrement counter by key_size:
sizeof(TREE_ELEMENT) + tree->size_of_element

This fix makes accurate allocated memory counter for tree. That is
decrease counter by key_size when deleting tree element.
2006-04-19 15:13:50 +05:00
..
2000-07-31 21:29:14 +02:00
2000-07-31 21:29:14 +02:00
2005-09-01 19:31:08 +05:00
2004-02-16 10:03:25 +02:00
2002-07-12 13:12:32 +05:00
2002-05-23 19:26:16 +05:00
2002-05-23 19:26:16 +05:00
2002-12-05 19:38:42 +02:00
2001-12-06 14:10:51 +02:00
2003-11-20 22:06:25 +02:00
2003-11-20 22:06:25 +02:00
2005-01-15 14:09:45 +02:00
2000-07-31 21:29:14 +02:00
2005-07-06 00:06:11 +02:00