Crash in pull_out_semijoin_tables with outer join + semijoin + derived tables in maria-5.3 with WL#106
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Sergey Petrunia |
Bug Description
Repeatable in maria-5.3 , repeatable in maria-5.
backtrace:
#3 <signal handler called>
#4 0x000000000080672c in pull_out_
#5 0x0000000000747d35 in make_join_
#6 0x000000000074a49e in JOIN::optimize (this=0xc34b1f0) at sql_select.cc:1101
#7 0x000000000074dfbd in mysql_select (thd=0xc23f098, rref_pointer_
order=0x0, group=0x0, having=0x0, proc_param=0x0, select_
at sql_select.cc:2872
#8 0x000000000075443c in handle_select (thd=0xc23f098, lex=0xc241470, result=0xc301990, setup_tables_
#9 0x00000000006a1744 in execute_
#10 0x00000000006a33f7 in mysql_execute_
#11 0x00000000006ac18f in mysql_parse (thd=0xc23f098,
rawbuf=
length=118, found_semicolon
#12 0x00000000006ad027 in dispatch_command (command=COM_QUERY, thd=0xc23f098,
packet=
packet_
#13 0x00000000006ae635 in do_command (thd=0xc23f098) at sql_parse.cc:904
#14 0x00000000006990eb in handle_
#15 0x00000033b600673d in start_thread () from /lib64/
#16 0x00000033b58d40cd in clone () from /lib64/libc.so.6
optimizer switch in effect:
index_merge=
test case:
CREATE TABLE t1 ( f1 int) ;
INSERT INTO t1 VALUES (1),(1);
CREATE TABLE t2 ( f2 int) ;
INSERT INTO t2 VALUES (1),(1);
CREATE TABLE t3 ( f3 int) ;
INSERT INTO t3 VALUES (1),(1);
SELECT *
FROM t1
WHERE t1.f1 IN (
SELECT t2.f2
FROM t2
LEFT JOIN (
) AS alias1
ON alias1.f3 = t2.f2
);
Changed in maria: | |
assignee: | nobody → Igor Babaev (igorb-seattle) |
milestone: | none → 5.3 |
Changed in maria: | |
assignee: | Igor Babaev (igorb-seattle) → Sergey Petrunia (sergefp) |
Changed in maria: | |
importance: | Undecided → Critical |
Changed in maria: | |
importance: | Critical → High |
status: | New → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |