mirror of
https://github.com/MariaDB/server.git
synced 2025-11-15 09:02:33 +03:00
BUG#17455: Wrong results from Repair/Optimize .. table for partitioned tables
This commit is contained in:
parent
e9056d856d
commit
b756f55af0
@@ -886,4 +886,14 @@ s1
|
||||
2
|
||||
3
|
||||
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
|
||||
|
||||
@@ -1009,4 +1009,17 @@ select auto_increment from information_schema.tables where table_name='t1';
|
||||
select * from t1;
|
||||
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