Second Assertion `item->null_value' failed in 5.1-micro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Sergei Golubchik |
Bug Description
Even after the fix for bug#737092 , the assertion still happens:
mysqld: item_cmpfunc.
backtrace:
#8 0x006b0d98 in __assert_fail () from /lib/libc.so.6
#9 0x081e3434 in get_datetime_value (thd=0x9a98090, item_arg=
#10 0x081d2807 in Item_func_
#11 0x081d2e9c in Item_func_
#12 0x082e371a in make_join_select (join=0xb6b04e78, select=0xb6b0b938, cond=0xb6b04d58) at sql_select.cc:6272
#13 0x082d5526 in JOIN::optimize (this=0xb6b04e78) at sql_select.cc:1147
#14 0x082da0dd in mysql_select (thd=0x9a98090, rref_pointer_
order=0x0, group=0x0, having=0x0, proc_param=0x0, select_
at sql_select.cc:2530
#15 0x082d2b4e in handle_select (thd=0x9a98090, lex=0x9a991ac, result=0xb6b04e60, setup_tables_
#16 0x0827ac8f in execute_
#17 0x08271b46 in mysql_execute_
#18 0x0827ce48 in mysql_parse (thd=0x9a98090, rawbuf=0xb6b04628 "SELECT * FROM t1 WHERE LEAST( GREATEST( f3 , f2 , f4 ) , f5 )", length=61,
found_
#19 0x0826f7a0 in dispatch_command (command=COM_QUERY, thd=0x9a98090, packet=0x9add539 "SELECT * FROM t1 WHERE LEAST( GREATEST( f3 , f2 , f4 ) , f5 )",
packet_
#20 0x0826e9d0 in do_command (thd=0x9a98090) at sql_parse.cc:889
#21 0x0826cd15 in handle_
#22 0x00821919 in start_thread () from /lib/libpthread
#23 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 ( f2 time NOT NULL , f3 datetime, f4 int NOT NULL , f5 timestamp) ;
INSERT IGNORE INTO t1 VALUES ('04:38:
SELECT * FROM t1 WHERE LEAST( GREATEST( f3 , f2 , f4 ) , f5 );
Related branches
Changed in maria: | |
assignee: | nobody → Sergei (sergii) |
milestone: | none → 5.3 |
Changed in maria: | |
importance: | Undecided → High |
status: | New → Fix Committed |
Changed in maria: | |
status: | Fix Committed → Fix Released |