1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00
This commit is contained in:
Mattias Jonsson
2010-11-15 23:31:04 +01:00

View File

@@ -25,6 +25,7 @@ user_num CHAR(10)
KEY_BLOCK_SIZE=4 KEY_BLOCK_SIZE=4
PARTITION BY HASH(id) PARTITIONS 1; PARTITION BY HASH(id) PARTITIONS 1;
--replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
@@ -42,12 +43,14 @@ LOCK TABLE t1 WRITE;
--error ER_GET_ERRNO --error ER_GET_ERRNO
ALTER TABLE t1 ADD PARTITION PARTITIONS 1; ALTER TABLE t1 ADD PARTITION PARTITIONS 1;
--replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test
--echo # This SET is not needed to reproduce the bug, --echo # This SET is not needed to reproduce the bug,
--echo # it is here just to make the test case more realistic --echo # it is here just to make the test case more realistic
SET innodb_strict_mode = OFF; SET innodb_strict_mode = OFF;
ALTER TABLE t1 ADD PARTITION PARTITIONS 2; ALTER TABLE t1 ADD PARTITION PARTITIONS 2;
--replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test
# really bug#56172 # really bug#56172