diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2009-05-01 00:20:37 +0500 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2009-05-01 00:20:37 +0500 |
commit | 480fac610796e7ee6032c0db4c8ad8f38d3a912a (patch) | |
tree | 05059f26f39ee4a0f2b42deac040946dd4d20c9b /tests | |
parent | 2ecc941bd84cb7fbf4b4c1af124eb0e0e09d5788 (diff) | |
download | mariadb-git-480fac610796e7ee6032c0db4c8ad8f38d3a912a.tar.gz |
Bug #37362: Crash in do_field_eq
EXPLAIN EXTENDED of nested query containing a error:
1054 Unknown column '...' in 'field list'
may cause a server crash.
Parse error like described above forces a call to
JOIN::destroy() on malformed subquery.
That JOIN::destroy function closes and frees temporary
tables. However, temporary fields of these tables
may be listed in st_select_lex::group_list of outer
query, and that st_select_lex may not cleanup them
properly. So, after the JOIN::destroy call that
st_select_lex::group_list may have Item_field
objects with dangling pointers to freed temporary
table Field objects. That caused a crash.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions