different derived tables has refernce on the sema SELECT_LEX structure
Bug #914224 reported by
Oleksandr "Sanja" Byelkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Invalid
|
High
|
Oleksandr "Sanja" Byelkin |
Bug Description
(gdb) frame 1
#1 0x000000000069a948 in execute_
(gdb) p all_tables->alias
$1 = 0x1bd0d70 "t1"
(gdb) p all_tables-
$2 = (st_select_lex *) 0x1b53c28
(gdb) p all_tables-
$3 = 0x1bd1c28 "t2"
(gdb) p all_tables-
$4 = (st_select_lex *) 0x1b53c28
(gdb) p thd->query()
$5 = 0x1bcfc70 "select * from (select 1 as a) as t1 join (select * from test.t3) as t2"
(gdb)
the test suite is:
create table t3 (a int);
select * from (select 1 as a) as t1 join (select * from test.t3) as t2;
drop table t3;
Changed in maria: | |
assignee: | nobody → Oleksandr "Sanja" Byelkin (sanja-byelkin) |
status: | New → Confirmed |
status: | Confirmed → In Progress |
To post a comment you must log in.
It was my mistake the TABLE_LIST: :select_ lex shoudle be the same (in is where table is used).