mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19304
This commit is contained in:
@ -890,6 +890,10 @@ 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
|
||||
create table t1 (a int) engine=memory
|
||||
partition by key(a);
|
||||
insert into t1 values (1);
|
||||
@ -922,4 +926,14 @@ CREATE TABLE t1 (a int, index(a)) PARTITION BY KEY(a);
|
||||
ALTER TABLE t1 DISABLE KEYS;
|
||||
ALTER TABLE t1 ENABLE KEYS;
|
||||
DROP TABLE t1;
|
||||
create table t1 (a int)
|
||||
engine=MEMORY
|
||||
partition by key (a);
|
||||
REPAIR TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair note The storage engine for the table doesn't support repair
|
||||
OPTIMIZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 optimize note The storage engine for the table doesn't support optimize
|
||||
drop table t1;
|
||||
End of 5.1 tests
|
||||
|
@ -1023,6 +1023,14 @@ insert into t1 values (1);
|
||||
create index inx1 on t1(a);
|
||||
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);
|
||||
|
||||
#
|
||||
# BUG 19062 Partition clause ignored if CREATE TABLE ... AS SELECT ...;
|
||||
#
|
||||
@ -1056,4 +1064,18 @@ ALTER TABLE t1 DISABLE KEYS;
|
||||
ALTER TABLE t1 ENABLE KEYS;
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
# Bug 17455 Partitions: Wrong message and error when using Repair/Optimize
|
||||
# table on partitioned table
|
||||
#
|
||||
create table t1 (a int)
|
||||
engine=MEMORY
|
||||
partition by key (a);
|
||||
|
||||
REPAIR TABLE t1;
|
||||
OPTIMIZE TABLE t1;
|
||||
|
||||
drop table t1;
|
||||
>>>>>>>
|
||||
|
||||
--echo End of 5.1 tests
|
||||
|
Reference in New Issue
Block a user