1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-13 20:03:16 +03:00
Files
mariadb/mysql-test/t
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-02-25 23:13:11 +04:00
2010-06-01 11:54:06 +04:00
2009-12-17 12:06:36 -08:00
2010-01-29 16:54:27 +02:00
2010-03-12 11:52:38 +01:00
2010-01-15 10:51:39 +02:00
2009-12-23 17:44:03 +04:00
2010-08-13 14:18:46 +03:00
2010-06-04 17:10:22 +03:00