1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
Files
mariadb/mysql-test/t
unknown 1b2692d0e9 MDEV-3899 Valgrind warnings (blocks are definitely lost) in filesort on IN subquery with SUM and DISTINCT
Analysys:
In the beginning of JOIN::cleanup there is code that is supposed to
free all filesort buffers. The code assumes that the table being sorted
is the first non-constant table. To get this table it calls:
first_top_level_tab(this, WITHOUT_CONST_TABLES)
  
However, first_top_level_tab() instead returned the wrong table - the first
one in the plan, instead of the first non-constant table. There is no other
place outside filesort() where sort buffers may be freed. As a result, the
sort buffer was not freed, and there was a memory leak.
  
Solution:
Change first_top_level_tab(), to test for WITH_CONST_TABLES instead of
WITHOUT_CONST_TABLES.
2012-12-20 22:38:40 +02:00
..
c
2012-05-21 15:30:25 +02:00
2011-09-16 14:35:25 +02:00
2011-07-02 22:12:12 +02:00
2012-08-27 18:13:17 +02:00
c
2012-05-21 15:30:25 +02:00
2011-07-02 22:08:51 +02:00
2011-07-02 22:08:51 +02:00
2011-10-19 21:45:18 +02:00
2011-07-02 22:08:51 +02:00
2012-03-05 15:48:12 +02:00
2012-04-10 08:28:13 +02:00
2012-04-05 10:49:38 +02:00
2012-01-16 20:16:35 +01:00
2011-10-19 21:45:18 +02:00
2011-07-02 22:08:51 +02:00
2011-10-19 21:45:18 +02:00
2012-11-19 18:17:46 +02:00
2012-05-15 08:31:07 +03:00
2012-01-13 15:50:02 +01:00
2012-01-13 15:50:02 +01:00
2012-01-13 15:50:02 +01:00
2012-08-31 14:15:52 +02:00
2011-11-24 18:48:58 +02:00
2012-01-13 15:50:02 +01:00
2012-04-10 08:28:13 +02:00
2011-11-03 19:17:05 +01:00
2011-11-22 18:04:38 +01:00
2012-08-27 18:13:17 +02:00
2012-03-17 01:26:58 -07:00
2012-05-21 20:54:41 +02:00
2011-07-02 22:08:51 +02:00
2011-10-19 21:45:18 +02:00
2012-10-16 13:04:42 +02:00
2012-06-20 15:01:28 +04:00
2011-06-07 18:13:02 +02:00
2012-08-31 14:15:52 +02:00
2011-12-11 11:34:44 +02:00
2012-09-06 00:14:33 +03:00
2011-07-02 22:08:51 +02:00
2012-11-22 10:19:31 +01:00
2012-01-13 15:50:02 +01:00
2012-05-18 16:40:16 +03:00
2012-02-26 02:42:45 -08:00
2011-07-02 22:08:51 +02:00
2011-10-22 07:19:43 -07:00
2012-12-04 16:06:07 -08:00
2011-10-19 21:45:18 +02:00
2012-10-18 23:33:06 +02:00
2012-03-01 14:22:22 -08:00
2012-05-21 20:54:41 +02:00
2012-03-22 19:56:17 -07:00
2011-07-02 22:08:51 +02:00
2011-10-19 21:45:18 +02:00
2012-05-21 20:54:41 +02:00
2011-10-19 21:45:18 +02:00
2012-02-20 16:23:18 +02:00
2011-10-19 21:45:18 +02:00
2012-03-28 01:04:46 +02:00
2012-04-05 23:07:18 +02:00
2011-11-23 19:32:14 +02:00
2012-01-16 20:16:35 +01:00
2011-11-22 18:04:38 +01:00
2011-07-02 22:12:12 +02:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2012-08-22 16:13:54 +02:00
2012-01-13 15:50:02 +01:00
2011-10-19 21:45:18 +02:00
2012-03-28 01:04:46 +02:00
2012-01-16 20:16:35 +01:00
2012-04-10 08:28:13 +02:00
2011-12-14 15:33:01 +01:00
2011-10-19 21:45:18 +02:00
2012-02-15 18:08:08 +01:00
2012-11-22 10:19:31 +01:00
2011-07-02 22:12:12 +02:00
2011-07-02 22:12:12 +02:00
2011-07-02 22:12:12 +02:00
2011-07-02 22:12:12 +02:00
2011-07-02 22:12:12 +02:00
2011-07-02 22:12:12 +02:00
2012-03-05 21:48:06 +01:00
2012-01-02 10:13:53 +01:00
2012-01-24 01:59:03 +01:00
2012-10-11 12:09:21 +03:00
2011-10-19 21:45:18 +02:00
2012-08-27 18:13:17 +02:00
2012-01-16 20:16:35 +01:00
2012-04-05 23:07:18 +02:00
2011-11-22 18:04:38 +01:00
2012-10-18 23:33:06 +02:00
2012-01-16 20:16:35 +01:00
2012-05-20 14:57:29 +02:00
2011-12-11 11:34:44 +02:00
2011-08-08 17:45:43 +01:00
2012-04-10 08:28:13 +02:00
2011-07-02 22:08:51 +02:00
2011-06-16 13:54:16 +03:00
2012-08-27 18:13:17 +02:00
2012-02-29 14:15:15 +05:30
2011-10-19 21:45:18 +02:00
2012-02-15 18:08:08 +01:00
2011-10-19 21:45:18 +02:00
2012-01-13 15:50:02 +01:00
2012-01-13 15:50:02 +01:00
2011-11-15 13:03:00 -08:00
2012-06-04 17:26:11 +02:00
2011-11-22 18:04:38 +01:00
2011-08-23 00:00:13 +03:00
2012-04-07 15:58:46 +02:00
2012-02-18 19:11:57 -08:00
2012-11-22 10:19:31 +01:00
2011-12-28 18:47:01 -08:00
2011-07-02 22:12:12 +02:00
2012-05-21 20:54:41 +02:00
2011-05-28 05:11:32 +03:00
2011-07-02 22:08:51 +02:00
2012-01-13 15:50:02 +01:00
2011-10-19 21:45:18 +02:00
2012-06-04 18:06:00 +03:00
2011-06-09 17:23:39 +02:00
2012-01-13 15:50:02 +01:00
2012-01-13 15:50:02 +01:00
2011-06-09 17:23:39 +02:00
2011-10-19 21:45:18 +02:00
2012-08-22 16:45:25 +02:00
2012-06-08 22:15:49 -07:00
2012-11-22 10:19:31 +01:00
2012-01-13 15:50:02 +01:00
2011-07-02 22:08:51 +02:00
2012-04-10 08:28:13 +02:00