Mattias Jonsson
ab761db8d5
Bug#12696518: MEMORY LEAKS IN HA_PARTITION (VALGRIND TESTS ON TRUNK)
...
(also 5.5+ solution for bug#11766879/bug#60106)
The valgrind warning was due to an unused 'new handler_add_index(...)'
which was never freed.
The error handling did not work (fails as in bug#11766879) and
the implementation was not as transparant as it could, therefore I
made it a bit simpler and more transparant to the underlying handlers.
This way it follows the api better and the error handling works and
is also now tested.
Also added a debug test to verify the error handling.
Improved according to Jon Olavs review:
Added class ha_partition_add_index.
Also added base class Sql_alloc to handler_add_index.
Update 3.
2011-09-15 20:49:39 +02:00
..
2010-12-21 23:14:48 +05:30
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2010-08-23 13:56:21 +04:00
2010-11-15 16:17:38 +01:00
2007-11-20 16:04:07 +01:00
2010-11-15 16:17:38 +01:00
2008-05-16 19:03:50 +03:00
2008-05-16 19:03:50 +03:00
2008-05-16 19:03:50 +03:00
2010-11-15 16:17:38 +01:00
2008-05-16 19:03:50 +03:00
2010-09-15 10:22:12 +02:00
2010-09-15 10:22:12 +02:00
2008-09-18 12:02:48 +03:00
2009-11-25 09:19:34 +01:00
2010-09-15 10:22:12 +02:00
2008-09-18 12:02:48 +03:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2010-11-15 16:17:38 +01:00
2007-11-20 16:04:07 +01:00
2009-09-04 09:27:11 +05:30
2009-09-04 09:27:11 +05:30
2008-09-08 15:30:01 +02:00
2008-09-08 15:30:01 +02:00
2008-09-08 15:30:01 +02:00
2008-03-17 16:18:02 +01:00
2008-03-17 16:18:02 +01:00
2008-04-04 17:46:48 +02:00
2008-02-06 15:13:56 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2010-08-13 09:50:25 +02:00
2011-09-15 20:49:39 +02:00
2010-08-13 09:50:25 +02:00
2010-08-13 09:50:25 +02:00
2010-03-17 15:10:41 +01:00
2011-01-18 23:55:39 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2010-02-10 10:47:14 +01:00
2010-02-10 10:47:14 +01:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2009-09-10 11:15:39 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2009-09-10 11:15:39 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2009-09-10 11:15:39 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-07-11 01:14:13 +02:00
2008-08-19 11:44:22 +02:00
2011-01-28 13:28:15 +01:00
2009-12-09 11:33:28 +04:00
2010-08-13 09:50:25 +02:00
2011-01-28 13:28:15 +01:00
2010-09-15 10:22:12 +02:00
2007-11-20 16:04:07 +01:00
2007-11-20 16:04:07 +01:00
2008-12-08 15:36:42 +01:00
2008-12-08 15:36:42 +01:00
2010-12-19 18:15:12 +01:00