Crash in generate_derived_keys() in maria-5.3-mwl106
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Critical
|
Igor Babaev |
Bug Description
Not repeatable in maria-5.3. Backtrace:
#5 0x0832bf2d in generate_
#6 0x0832329d in sort_and_
#7 0x0831f43a in make_join_
#8 0x0831870b in JOIN::optimize (this=0xae625d98) at sql_select.cc:1099
#9 0x0831e4bf in mysql_select (thd=0x986d730, rref_pointer_
group=0x0, having=0x0, proc_param=0x0, select_
#10 0x0831641f in handle_select (thd=0x986d730, lex=0x986edf0, result=0xae6147e8, setup_tables_
#11 0x082b1b61 in execute_
#12 0x082a88f3 in mysql_execute_
#13 0x082b419d in mysql_parse (thd=0x986d730,
rawbuf=
found_
#14 0x082a657b in dispatch_command (command=COM_QUERY, thd=0x986d730,
packet=
at sql_parse.cc:1206
#15 0x082a5a01 in do_command (thd=0x986d730) at sql_parse.cc:904
#16 0x082a2a7c in handle_
#17 0x00821919 in start_thread () from /lib/libpthread
#18 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 ( f2 varchar(32), f3 varchar(32) , KEY (f2 ) ) ;
INSERT INTO t1 VALUES ('k','k');
SELECT *
FROM ( SELECT DISTINCT * FROM t1 ) AS alias1
JOIN t1 AS alias2 ON alias2.f2 = alias1.f3 ;
bzr version-info
revision-id: <email address hidden>
date: 2011-06-05 21:54:25 -0700
build-date: 2011-06-06 12:49:49 +0300
revno: 3027
branch-nick: maria-5.3-mwl106
Related branches
Changed in maria: | |
assignee: | nobody → Igor Babaev (igorb-seattle) |
milestone: | none → 5.3 |
Changed in maria: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in maria: | |
status: | Confirmed → In Progress |
Changed in maria: | |
status: | In Progress → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |