mirror of
https://github.com/MariaDB/server.git
synced 2025-12-07 17:42:39 +03:00
BUG#17947: Crash when REBUILD PARTITION syntax error
This commit is contained in:
@@ -540,4 +540,16 @@ select partition_name, partition_description, table_rows
|
||||
from information_schema.partitions where table_schema ='test';
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# BUG 17947 Crash with REBUILD PARTITION
|
||||
#
|
||||
create table t1 (a int)
|
||||
partition by list (a)
|
||||
(partition p0 values in (1));
|
||||
|
||||
--error 1064
|
||||
alter table t1 rebuild partition;
|
||||
|
||||
drop table t1;
|
||||
|
||||
--echo End of 5.1 tests
|
||||
|
||||
Reference in New Issue
Block a user