Crash in ha_partition::create_handlers on ALTER TABLE after DROP PARTITION and ANALYZE PARTITION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Undecided
|
Sergei Golubchik |
Bug Description
#3 0x081ba181 in handle_segfault (sig=11) at /home/elenst/
#4 <signal handler called>
#5 0x0885eeaf in ha_partition:
at /home/elenst/
#6 0x0885f947 in ha_partition:
at /home/elenst/
#7 0x0885fa93 in ha_partition:
mem_
#8 0x0885ade7 in ha_partition:
at /home/elenst/
#9 0x0885a5cf in partition_
at /home/elenst/
#10 0x083dfc8a in get_new_handler (share=0x82669580, alloc=0x826695b8, db_type=0xa085e48)
at /home/elenst/
#11 0x08308066 in open_binary_frm (thd=0xa0ab428, share=0x82669580, head=0x82668dd4 "\376\001\
at /home/elenst/
#12 0x08306773 in open_table_def (thd=0xa0ab428, share=0x82669580, db_flags=0) at /home/elenst/
#13 0x082e3981 in check_if_
db=0xa156898 "test", table_name=
at /home/elenst/
#14 0x082e4b08 in mysql_create_
create_
at /home/elenst/
#15 0x082e95ab in mysql_alter_table (thd=0xa0ab428, new_db=0xa156898 "test", new_name=0xa156470 "t", create_
table_
at /home/elenst/
#16 0x08536363 in Alter_table_
at /home/elenst/
#17 0x0825fcc8 in mysql_execute_
#18 0x08262b02 in mysql_parse (thd=0xa0ab428, rawbuf=0xa1563e8 "ALTER TABLE t COMMENT 'altered'", length=31,
parser_
#19 0x08256fb5 in dispatch_command (command=COM_QUERY, thd=0xa0ab428, packet=0xa149f39 "ALTER TABLE t COMMENT 'altered'",
packet_
#20 0x0825647a in do_command (thd=0xa0ab428) at /home/elenst/
#21 0x0833dd18 in do_handle_
#22 0x0833d866 in handle_
#23 0x0855b199 in pfs_spawn_thread (arg=0xa1a6d70) at /home/elenst/
#24 0xb770fb25 in start_thread () from /lib/libpthread
#25 0xb74df34e in clone () from /lib/libc.so.6
bzr version-info
revision-id: <email address hidden>
date: 2012-01-11 13:35:27 +0100
build-date: 2012-01-15 22:16:18 +0400
revno: 3214
branch-nick: maria-5.5
Also reproducible on MySQL 5.5.20 and filed as http://
Not reproducible on Maria 5.3, MySQL 5.1.60 , MySQL 5.6.4.
# Test case:
CREATE TABLE IF NOT EXISTS t ( a INT )
PARTITION BY RANGE ( a ) (
PARTITION p0 VALUES LESS THAN ( 0 ),
PARTITION p1 VALUES LESS THAN MAXVALUE ) ;
ALTER TABLE t DROP PARTITION p1;
ALTER TABLE t ANALYZE PARTITION p0, p1;
ALTER TABLE t COMMENT 'altered';
Changed in maria: | |
assignee: | nobody → Sergei (sergii) |
tags: | added: crash partitions upstream |
Also filed as JIRA issue MDEV-110