mariadb/storage/heap
Mattias Jonsson e0887df8e1 Bug#11766249 bug#59316: PARTITIONING AND INDEX_MERGE MEMORY LEAK
When executing row-ordered-retrieval index merge,
the handler was cloned, but it used the wrong
memory root, so instead of allocating memory
on the thread/query's mem_root, it used the table's
mem_root, resulting in non released memory in the
table object, and was not freed until the table was
closed.

Solution was to ensure that memory used during cloning
of a handler was allocated from the correct memory root.

This was implemented by fixing handler::clone() to also
take a name argument, so it can be used with partitioning.
And in ha_partition only allocate the ha_partition's ref, and
call the original ha_partition partitions clone() and set at cloned
partitions.

Fix of .bzrignore on Windows with VS 2010
2011-03-25 12:36:02 +01:00
..
.cvsignore
_check.c
_rectest.c
ChangeLog
CMakeLists.txt Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
ha_heap.cc Bug#11766249 bug#59316: PARTITIONING AND INDEX_MERGE MEMORY LEAK 2011-03-25 12:36:02 +01:00
ha_heap.h Bug#11766249 bug#59316: PARTITIONING AND INDEX_MERGE MEMORY LEAK 2011-03-25 12:36:02 +01:00
heapdef.h Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_block.c
hp_clear.c
hp_close.c Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_create.c Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_delete.c Merge 2010-12-29 00:47:05 +01:00
hp_extra.c
hp_hash.c Bug#53445: Build with -Wall and fix warnings that it generates 2010-07-02 15:30:47 -03:00
hp_info.c
hp_open.c Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
hp_panic.c
hp_rename.c
hp_rfirst.c Merge mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.0-engines 2007-09-13 17:12:46 +05:00
hp_rkey.c
hp_rlast.c
hp_rnext.c Merge mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.0-engines 2007-09-13 17:12:46 +05:00
hp_rprev.c
hp_rrnd.c
hp_rsame.c
hp_scan.c
hp_static.c
hp_test1.c Fixed a lot of compiler warnings and errors detected by Forte C++ on Solaris 2007-08-13 16:11:25 +03:00
hp_test2.c Bug#53445: Build with -Wall and fix warnings that it generates 2010-07-02 15:30:47 -03:00
hp_update.c Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
hp_write.c Merge from 5.0 2009-09-17 17:25:52 +02:00
make-ccc
Makefile.am
plug.in