Alexey Kopytov
0e74ac5028
Bug #55568 : user variable assignments crash server when used
...
within query
The server could crash after materializing a derived table
which requires a temporary table for grouping.
When destroying the temporary table used to execute a query for
a derived table, JOIN::destroy() did not clean up Item_fields
pointing to fields in the temporary table. This led to
dereferencing a dangling pointer when printing out the items
tree later in the outer SELECT.
The solution is an addendum to the patch for bug37362: in
addition to cleaning up items in tmp_all_fields3, do the same
for items in tmp_all_fields1, since now we have an example
where this is necessary.
2010-08-24 14:35:48 +04:00
..
2010-05-24 21:54:08 +08:00
2009-12-18 14:00:30 +02:00
2010-03-25 23:57:06 +04:00
2010-02-25 23:13:11 +04:00
2010-05-28 00:07:40 +04:00
2010-02-02 14:17:21 +02:00
2010-04-22 15:52:00 +02:00
2010-04-22 15:52:00 +02:00
2009-12-22 13:52:23 +04:00
2010-05-24 21:54:08 +08:00
2010-01-16 15:44:24 +08:00
2010-02-17 16:13:42 +04:00
2010-05-24 21:54:08 +08:00
2010-03-22 16:27:59 +04:00
2010-04-06 12:26:59 +05:00
2010-05-14 15:36:27 +04:00
2010-06-04 10:53:18 +02:00
2010-06-29 10:28:17 +02:00
2010-05-19 11:18:59 +02:00
2010-05-29 22:16:45 +04:00
2010-05-24 21:54:08 +08:00
2009-12-22 17:52:15 +02:00
2010-03-25 16:08:21 +04:00
2010-04-03 00:30:22 +04:00
2010-07-23 15:52:54 +04:00
2010-06-22 22:53:08 +04:00
2010-06-08 10:22:40 +04:00
2010-06-20 02:02:58 +04:00
2010-08-01 22:12:36 +04:00
2010-03-26 09:49:35 +04:00
2010-03-25 15:49:01 +04:00
2010-05-04 17:03:28 +03:00
2010-07-30 16:35:06 +03:00
2010-06-11 09:38:29 +02:00
2010-06-09 14:45:04 +04:00
2010-07-09 14:39:47 +04:00
2010-06-25 12:01:47 +04:00
2010-05-28 00:07:40 +04:00
2010-06-01 11:54:06 +04:00
2010-08-24 14:35:48 +04:00
2010-07-14 14:54:51 +03:00
2009-12-18 18:32:55 -02:00
2010-05-28 00:07:40 +04:00
2010-05-12 13:19:12 +02:00
2010-02-26 09:22:48 -03:00
2010-06-25 15:59:44 +03:00
2010-03-19 10:01:02 +04:00
2010-03-12 10:33:16 +04:00
2010-05-24 21:54:08 +08:00
2010-03-12 14:43:30 +04:00
2010-07-30 09:17:10 -03:00
2010-07-01 12:05:09 +03:00
2009-12-17 12:06:36 -08:00
2010-03-28 19:57:33 +08:00
2010-05-20 17:38:01 +02:00
2010-06-03 10:31:26 +02:00
2010-06-03 10:31:26 +02:00
2010-02-09 18:13:57 +01:00
2010-02-07 00:12:04 +00:00
2010-01-29 16:54:27 +02:00
2010-05-07 00:41:37 +04:00
2010-02-01 16:07:00 +01:00
2010-06-01 09:02:28 +02:00
2010-04-12 17:26:20 +03:00
2010-01-07 11:22:45 +01:00
2010-01-18 17:49:18 +01:00
2010-03-12 11:52:38 +01:00
2010-03-10 12:56:05 +01:00
2010-03-04 12:09:09 +01:00
2010-03-22 16:30:27 +04:00
2010-03-09 09:16:17 -03:00
2010-03-14 08:16:59 -03:00
2010-06-09 16:07:34 +04:00
2010-01-16 15:44:24 +08:00
2010-04-16 16:42:34 +05:00
2010-03-24 17:37:41 +01:00
2010-05-10 09:23:23 +02:00
2010-05-21 22:47:32 +04:00
2010-04-16 16:42:34 +05:00
2010-06-26 19:36:00 +02:00
2010-06-24 21:13:08 +04:00
2010-03-31 16:12:37 +03:00
2010-02-05 13:39:46 +04:00
2010-01-15 10:51:39 +02:00
2010-05-24 21:54:08 +08:00
2010-02-13 08:35:14 -02:00
2009-12-23 17:44:03 +04:00
2010-07-28 12:59:19 -03:00
2010-04-15 17:04:24 +03:00
2010-04-01 18:49:02 +04:00
2010-08-06 23:29:37 +04:00
2010-04-01 10:15:22 -03:00
2010-02-16 13:13:49 +04:00
2010-03-16 10:20:07 +01:00
2010-05-31 13:25:11 +04:00
2010-03-22 12:33:25 +04:00
2010-03-18 11:26:27 +01:00
2010-01-06 12:24:51 +02:00
2010-07-19 11:03:52 +02:00
2010-05-21 22:47:32 +04:00
2010-08-13 14:18:46 +03:00
2010-02-11 14:26:58 +01:00
2010-05-20 10:31:03 +04:00
2010-06-04 17:10:22 +03:00
2010-03-09 07:36:26 -03:00
2010-02-12 00:54:14 -02:00
2010-04-06 12:26:59 +05:00
2010-03-10 19:31:22 +04:00