1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/mysql-test/t
unknown 8c4ff24b56 Fixed bug #28728: a crash when executing EXPLAIN EXTENDED for a query
using a derived table over a grouping subselect.

This crash happens only when materialization of the derived tables 
requires creation of auxiliary temporary table, for example when
a grouping operation is carried out with usage of a temporary table.

The crash happened because EXPLAIN EXTENDED when printing the query
expression made an attempt to use the objects created in the mem_root
of the temporary table which has been already freed by the moment
when printing is called.

This bug appeared after the method Item_field::print() had been 
introduced.    


mysql-test/r/subselect.result:
  Added a test case for bug #28728.
mysql-test/t/subselect.test:
  Added a test case for bug #28728.
sql/sql_select.cc:
  Fixed bug #28728: a crash when executing EXPLAIN EXTENDED for a query
  using a derived table over a grouping subselect.
  The crash happened because EXPLAIN EXTENDED when printing the query
  expression made an attempt to use the objects created in the mem_root
  of the temporary table which has been already freed by the moment
  when printing is accomplished.
  The fix in JOIN::exec() ensures using existing objects when printing 
  subselects for a derived tables by EXPLAIN EXTENDED.
2007-06-02 11:44:16 -07:00
..
2007-05-17 19:38:34 +03:00
2007-05-30 22:29:15 +03:00
2007-05-11 20:33:13 +04:00
2006-11-20 22:42:06 +02:00
2006-11-20 22:42:06 +02:00
2007-02-23 18:49:41 +02:00
2007-04-10 16:55:48 +03:00
2007-03-08 00:27:42 +03:00
2006-11-29 13:56:59 -05:00
2007-04-11 13:58:16 +03:00
2007-05-23 15:22:13 +04:00
2007-05-12 00:46:07 +04:00
2006-11-20 22:42:06 +02:00
2007-03-28 12:11:44 +02:00
2007-03-20 19:36:11 +01:00
2007-04-18 19:36:22 -06:00
2007-05-11 03:17:05 +05:00
2007-05-16 09:51:05 +04:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-02-24 13:12:20 +03:00
2007-05-31 12:10:21 +05:00
2007-05-09 14:46:11 +04:00
2007-02-24 13:12:20 +03:00
2007-06-01 17:49:01 +04:00
2007-03-31 17:18:03 +02:00
2007-05-25 17:24:17 +05:00
2007-06-01 20:05:34 +04:00
2007-03-21 09:13:05 +01:00
2006-11-20 22:42:06 +02:00
2007-06-01 17:49:01 +04:00
2007-06-01 17:49:01 +04:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2007-06-01 18:04:25 +04:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-05-31 17:30:56 +05:00
2007-04-10 19:08:08 +03:00
2006-12-11 18:52:24 -07:00
2007-05-18 17:48:44 +02:00
2007-02-01 18:00:24 +04:00
2007-04-17 12:32:01 +02:00
2007-03-29 09:08:30 +05:00
2007-02-24 13:12:20 +03:00
2007-04-23 17:15:51 +03:00