mariadb/mysql-test/suite/galera/t/MDEV-27001.test
mkaruza b1d647ae85 MDEV-27001 Galera crashes when converting table to partition
SQL statments could have table entries added in lexer. This entries
should not invalidate `next_global` member.

Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
2021-12-14 09:00:08 +02:00

7 lines
No EOL
271 B
Text

--source include/galera_cluster.inc
--source include/have_innodb.inc
CREATE TABLE t3 (c INT) PARTITION BY RANGE (c) (PARTITION p1 VALUES LESS THAN (1000));
CREATE TABLE tp2 (c INT);
ALTER TABLE t3 CONVERT TABLE tp2 TO PARTITION p2 VALUES LESS THAN (2000);
DROP TABLE t3;