Assertion `share->reopen == 1' failed at maria_extra on ADD PARTITION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
High
|
Michael Widenius |
Bug Description
mysqld: storage/
#6 0x00007f544d7c0d4d in __GI___assert_fail (assertion=0xdf6f72 "share->reopen == 1", file=<optimized out>, line=288, function=<optimized out>) at assert.c:81
#7 0x0000000000997387 in maria_extra (info=0x34a0a90, function=
#8 0x0000000000952038 in ha_maria::extra (this=0x34cf618, operation=
#9 0x0000000000c7bf3a in ha_partition:
#10 0x0000000000c7b963 in ha_partition::extra (this=0x34ceb28, operation=
#11 0x00000000005ad69f in wait_while_
#12 0x000000000091b73e in fast_alter_
#13 0x00000000006a9877 in mysql_alter_table (thd=0x3383fe0, new_db=0x3486db0 "test", new_name=0x34867b0 "t", create_
#14 0x000000000092ec66 in Alter_table_
#15 0x00000000006119d9 in mysql_execute_
#16 0x0000000000614b7b in mysql_parse (thd=0x3383fe0, rawbuf=0x34866e8 "ALTER TABLE t ADD PARTITION PARTITIONS 2", length=40, parser_
#17 0x000000000060841f in dispatch_command (command=COM_QUERY, thd=0x3383fe0, packet=0x347eed1 "ALTER TABLE t ADD PARTITION PARTITIONS 2", packet_length=40) at sql/sql_
#18 0x00000000006076d6 in do_command (thd=0x3383fe0) at sql/sql_
#19 0x0000000000707cef in do_handle_
#20 0x00000000007076da in handle_
#21 0x0000000000bf6a1b in pfs_spawn_thread (arg=0x35077b0) at storage/
#22 0x00007f544e502efc in start_thread (arg=0x7f5442ea
Query (0x34866e8): ALTER TABLE t ADD PARTITION PARTITIONS 2
Connection ID (thread ID): 2
Status: NOT_KILLED
bzr version-info
revision-id: <email address hidden>
date: 2012-04-21 02:57:28 +0200
build-date: 2012-04-28 03:31:08 +0400
revno: 3388
Not reproducible on MariaDB 5.1, 5.2, 5.3.
# Test case:
CREATE TABLE t ( i INT ) ENGINE=Aria
PARTITION BY HASH(i) PARTITIONS 2;
ALTER TABLE t ADD PARTITION PARTITIONS 2;
# End of test case
Set to 'High' rather than 'Critical' because it's a debug assertion, no visible problems on a release build (buildbot, same revision).