-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-7262: innodb.innodb-mdev7046 and innodb-page_compression* fail o…
…n BuildBot If persistent trim is not used some OS require that we write full page.
- Loading branch information
Jan Lindström
committed
Dec 4, 2014
1 parent
8360e1a
commit 0fe39b6
Showing
4 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1 @@ | ||
call mtr.add_suppression("InnoDB: File ./test/t1*"); | ||
call mtr.add_suppression("nnoDB: Error number*"); | ||
USE test; | ||
create table t1(f1 INT,f2 INT,f3 CHAR (10),primary key(f1,f2)) partition by range(f1) subpartition by hash(f2) subpartitions 2 (partition p1 values less than (0),partition p2 values less than (2),partition p3 values less than (2147483647)); | ||
RENAME TABLE t1 TO `t2_new..............................................end`; | ||
ERROR HY000: Error on rename of 't2_new' (Errcode: 36 "File name too long") | ||
alter table t1 engine=innodb; | ||
RENAME TABLE t1 TO `t2_new..............................................end`; | ||
ERROR HY000: Error on rename of 't2_new' (errno: -1 "Internal error < 0 (Not system error)") | ||
show warnings; | ||
Level Code Message | ||
Error 1025 Error on rename of 't2_new' (errno: -1 "Internal error < 0 (Not system error)") | ||
drop table t1; | ||
DROP DATABASE test; | ||
CREATE DATABASE test; | ||
USE test; | ||
SET @@session.storage_engine=MYISAM; | ||
CREATE TABLE t1(id INT,purchased DATE)PARTITION BY RANGE(YEAR(purchased)) SUBPARTITION BY HASH(TO_DAYS(purchased)) SUBPARTITIONS 2 (PARTITION p0 VALUES LESS THAN MAXVALUE (SUBPARTITION sp0 DATA DIRECTORY='/tmp/not-existing' INDEX DIRECTORY='/tmp/not-existing',SUBPARTITION sp1)); | ||
ERROR HY000: Can't create/write to file '/tmp/not-existing/t1#P#p0#SP#sp0.MYI' (Errcode: 2 "No such file or directory") | ||
CREATE TABLE t1(id INT,purchased DATE)PARTITION BY RANGE(YEAR(purchased)) SUBPARTITION BY HASH(TO_DAYS(purchased)) SUBPARTITIONS 2 (PARTITION p0 VALUES LESS THAN MAXVALUE (SUBPARTITION sp0,SUBPARTITION sp1)); | ||
ALTER TABLE t1 ENGINE=InnoDB; | ||
drop table t1; | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters