Crash in Field_time_hires::pack_length on CREATE TABLE TIME(3)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Critical
|
Sergei Golubchik |
Bug Description
CREATE TABLE with fields of type TIME(3) or TIME(6) causes the following crash:
#4 <signal handler called>
#5 0x08234df5 in Field_time_
#6 0x082414de in Field::
#7 0x085503dc in table2myisam (table_
#8 0x08554ff3 in ha_myisam::create (this=0xb690a270, name=0xb6aea0fb "./test/
at ha_myisam.cc:1931
#9 0x0838ec3e in handler::ha_create (this=0xb690a270, name=0xb6aea0fb "./test/
#10 0x0838f32a in ha_create_table (thd=0xa080090, path=0xb6aea0fb "./test/
table_
#11 0x08347b9a in rea_create_table (thd=0xa080090, path=0xb6aea0fb "./test/
table_
#12 0x083b1f6f in mysql_create_
alter_
#13 0x083b23be in mysql_create_table (thd=0xa080090, db=0xb692bc48 "test", table_name=
alter_
#14 0x08272b17 in mysql_execute_
#15 0x0827c948 in mysql_parse (thd=0xa080090, rawbuf=0xb692b930 "CREATE TABLE `table1_
found_
#16 0x0826f2a0 in dispatch_command (command=COM_QUERY, thd=0xa080090, packet=0xa0c5539 "CREATE TABLE `table1_
packet_
#17 0x0826e4d0 in do_command (thd=0xa080090) at sql_parse.cc:889
#18 0x0826c815 in handle_
#19 0x00821919 in start_thread () from /lib/libpthread
#20 0x0076acce in clone () from /lib/libc.so.6
test case:
CREATE TABLE t1 ( f1 time(3) );
Shouldn't such a CREATE TABLE been present in the MTR test suite?
bzr version-info:
[philips@eve mysql-test]$ bzr version-info
revision-id: <email address hidden>
date: 2011-03-07 23:19:26 +0100
build-date: 2011-03-08 08:44:05 +0200
revno: 3540
branch-nick: mysql-5.1-micro
Related branches
Changed in maria: | |
status: | Confirmed → Fix Committed |
importance: | Undecided → Critical |
Changed in maria: | |
status: | Fix Committed → Fix Released |
Same applies to TIMESTAMP