1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

BUG#19304: Merge handler allowed in partitioned tables

mysql-test/r/partition.result:
  New test case
mysql-test/t/partition.test:
  New test case
sql/partition_info.cc:
  Check for not merge handler in partitioned table
sql/share/errmsg.txt:
  New error message
This commit is contained in:
unknown
2006-05-23 07:37:03 -04:00
parent 3065eeb3f8
commit 1e12f9462b
4 changed files with 23 additions and 7 deletions

View File

@ -886,4 +886,8 @@ s1
2
3
drop table t1;
create table t1 (a int)
partition by key (a)
(partition p0 engine = MERGE);
ERROR HY000: MyISAM Merge handler cannot be used in partitioned tables
End of 5.1 tests

View File

@ -1009,4 +1009,12 @@ select auto_increment from information_schema.tables where table_name='t1';
select * from t1;
drop table t1;
#
# BUG 19304 Partitions: MERGE handler not allowed in partitioned tables
#
--error ER_PARTITION_MERGE_ERROR
create table t1 (a int)
partition by key (a)
(partition p0 engine = MERGE);
--echo End of 5.1 tests