1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-19 19:03:26 +03:00

BUG#17947: Crash when REBUILD PARTITION syntax error

This commit is contained in:
mikael@zim.(none)
2006-03-09 10:19:25 -08:00
parent 696c76778a
commit eed9568833
3 changed files with 19 additions and 1 deletions

View File

@@ -422,4 +422,10 @@ partition_name partition_description table_rows
x123 11,12 1
x234 NULL,1 1
drop table t1;
create table t1 (a int)
partition by list (a)
(partition p0 values in (1));
alter table t1 rebuild partition;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
drop table t1;
End of 5.1 tests