gkodinov/kgeorge@magare.gmz
e22ef24263
Fix for bug #35298 : GROUP_CONCAT with DISTINCT can crash the server
...
The bug is a regression introduced by the patch for bug32798.
The code in Item_func_group_concat::clear() relied on the 'distinct'
variable to check if 'unique_filter' was initialized. That, however,
is not always valid because Item_func_group_concat::setup() can do
shortcuts in some cases w/o initializing 'unique_filter'.
Fixed by checking the value of 'unique_filter' instead of 'distinct'
before dereferencing.
2008-05-01 13:49:26 +03:00
..
2008-03-29 17:50:46 +02:00
2008-04-01 08:43:15 +02:00
2006-12-31 01:02:27 +01:00
2008-02-19 12:37:39 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-07-12 00:55:40 +05:00
2008-02-08 16:04:01 +04:00
2008-02-07 02:33:21 +04:00
2008-03-12 10:59:15 +03:00
2006-12-31 01:02:27 +01:00
2007-01-31 00:06:42 +01:00
2007-10-05 16:33:08 +05:00
2006-12-31 01:02:27 +01:00
2007-06-27 13:19:34 +05:00
2007-01-22 14:04:40 +02:00
2008-03-29 16:12:23 +02:00
2007-02-22 16:59:57 +02:00
2008-03-19 18:44:50 +02:00
2007-11-16 14:46:36 +04:00
2008-03-29 09:52:16 +02:00
2007-11-30 17:08:00 +04:00
2007-10-23 16:32:05 +05:00
2007-07-17 19:51:50 +04:00
2008-03-29 09:52:16 +02:00
2007-10-02 23:47:30 -06:00
2008-03-13 16:39:27 +01:00
2007-07-12 13:29:51 +02:00
2008-03-28 16:01:05 -04:00
2007-06-06 04:42:41 +05:00
2008-03-29 09:52:16 +02:00
2008-02-28 14:23:22 +01:00
2008-03-29 09:52:16 +02:00
2007-11-05 20:18:22 +01:00
2008-02-07 05:10:04 +03:00
2008-03-21 17:23:17 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-05-28 12:44:59 +04:00
2006-12-31 01:02:27 +01:00
2008-03-28 14:02:27 -04:00
2007-12-04 20:58:21 -07:00
2007-10-08 12:46:38 +05:00
2007-05-10 00:17:21 +05:00
2008-03-29 17:50:46 +02:00
2008-02-28 14:23:22 +01:00
2007-11-17 16:48:57 +04:00
2007-10-04 12:01:28 +05:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2007-10-11 16:07:10 +05:00
2007-12-04 20:58:21 -07:00
2008-03-28 14:31:52 +03:00
2007-10-30 14:27:21 +02:00
2008-05-01 13:49:26 +03:00
2008-03-27 19:49:32 +03:00
2007-12-21 12:44:24 +02:00
2007-12-21 12:44:24 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2008-04-22 02:53:12 +04:00
2008-03-12 10:59:15 +03:00
2007-11-21 22:56:42 +04:00
2007-03-08 12:04:45 +03:00
2007-03-08 12:04:45 +03:00
2008-03-29 17:50:46 +02:00
2008-03-18 16:38:12 +04:00
2007-10-29 15:20:59 +02:00
2008-03-21 16:10:15 +02:00
2007-06-28 11:13:18 +02:00
2006-12-31 01:02:27 +01:00
2006-09-01 10:32:12 +02:00
2006-12-31 01:02:27 +01:00
2007-10-05 09:38:57 +02:00
2008-04-25 00:39:37 +04:00
2006-12-31 01:02:27 +01:00
2008-03-28 14:31:52 +03:00
2006-12-23 20:17:15 +01:00
2008-03-29 16:12:23 +02:00
2008-03-28 14:02:27 -04:00
2008-03-28 14:02:27 -04:00
2007-01-22 14:04:40 +02:00
2007-10-24 11:15:08 +03:00
2007-04-06 18:56:39 +04:00
2006-12-23 20:17:15 +01:00
2007-01-22 14:04:40 +02:00
2006-12-31 01:02:27 +01:00
2008-03-21 17:23:17 +02:00
2007-12-01 13:09:16 +01:00
2007-05-16 10:44:59 +02:00
2007-10-17 20:08:58 +04:00
2008-03-18 16:38:12 +04:00
2006-12-31 01:02:27 +01:00
2008-03-28 14:02:27 -04:00
2007-12-13 14:52:49 +04:00
2008-03-28 16:01:05 -04:00
2008-02-22 19:07:07 +04:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2008-01-23 14:04:46 -07:00
2008-01-23 13:26:41 -07:00
2007-03-14 12:02:32 -06:00
2007-03-14 12:02:32 -06:00
2008-01-23 13:26:41 -07:00
2008-01-23 13:26:41 -07:00
2008-02-19 17:27:18 +02:00
2006-12-23 20:17:15 +01:00
2007-07-05 18:24:48 +03:00
2007-03-23 16:28:07 -06:00
2008-03-28 11:26:40 +02:00
2008-03-21 17:23:17 +02:00
2008-03-29 17:50:46 +02:00
2008-03-21 17:23:17 +02:00
2007-10-17 20:08:58 +04:00
2008-03-21 17:23:17 +02:00
2006-12-23 20:17:15 +01:00
2008-03-28 14:02:27 -04:00
2007-08-17 16:55:20 +02:00
2008-03-14 10:03:01 +08:00
2008-02-28 11:34:08 -03:00
2007-05-24 11:21:27 +02:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2008-02-20 16:45:24 -03:00
2006-12-31 01:02:27 +01:00
2008-03-21 17:23:17 +02:00
2008-03-27 15:52:55 +04:00
2007-03-22 15:07:32 +01:00
2006-12-31 01:02:27 +01:00
2007-06-20 12:46:15 +04:00
2007-06-06 04:42:41 +05:00
2007-10-12 10:55:46 -03:00
2007-10-17 20:08:58 +04:00
2008-03-27 16:24:11 +01:00
2008-03-27 19:49:32 +03:00
2008-03-27 19:49:32 +03:00
2006-12-31 01:02:27 +01:00
2007-03-29 10:35:28 +04:00
2008-03-28 18:59:13 +03:00
2007-01-12 12:22:54 +01:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2007-10-23 14:27:11 +05:00
2006-12-31 01:02:27 +01:00
2006-12-31 01:02:27 +01:00
2008-03-21 17:23:17 +02:00
2008-03-27 15:52:55 +04:00
2006-12-31 01:02:27 +01:00
2008-01-31 07:19:29 +01:00
2008-03-11 14:42:54 +01:00
2008-04-23 02:27:23 +05:00
2007-11-07 18:02:12 +02:00
2008-03-19 14:32:28 +01:00
2007-07-01 15:33:28 -07:00
2006-12-23 20:17:15 +01:00
2007-12-19 14:49:04 +01:00
2007-01-22 14:04:40 +02:00
2007-12-13 14:52:49 +04:00
2006-12-31 01:02:27 +01:00
2007-09-04 16:40:27 -06:00
2007-07-12 22:26:41 +04:00
2007-11-09 13:41:50 +03:00
2007-07-06 16:18:49 +04:00
2008-03-29 16:12:23 +02:00
2008-03-27 15:52:55 +04:00
2008-02-21 14:58:29 -03:00
2008-02-21 14:58:29 -03:00
2008-03-14 15:28:36 -07:00
2008-02-19 12:37:39 +01:00
2008-02-19 12:37:39 +01:00
2007-03-22 20:32:07 +02:00
2007-10-26 15:37:38 +05:00
2007-10-10 16:26:02 +03:00
2007-09-24 15:34:10 +03:00
2006-12-31 01:02:27 +01:00
2007-08-06 04:57:28 -07:00
2006-12-23 20:17:15 +01:00
2008-03-30 15:46:37 -04:00
2007-05-16 10:44:59 +02:00
2007-11-27 17:16:52 +02:00
2007-10-17 17:54:11 -04:00
2007-07-01 15:33:28 -07:00
2007-12-17 09:45:36 +01:00
2007-08-03 01:58:21 +05:00