diff options
author | Jan Lindström <jplindst@mariadb.org> | 2015-01-13 16:48:11 +0200 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2015-01-13 16:48:11 +0200 |
commit | 39556a7814556a9a1796f5dfc0740c63b17fcca1 (patch) | |
tree | deff966c79e45ee6e130bc50dc8f9eecda734e4b | |
parent | f27817c1d0e6d81392470e9086624e88ae08b11f (diff) | |
download | mariadb-git-39556a7814556a9a1796f5dfc0740c63b17fcca1.tar.gz |
MDEV-7262: innodb.innodb-mdev7046 fail on BuildBot
Test causes OS error printout and we need to supress this
error message on tests. Additionally, test could cause
different error codes on different OSs.
-rw-r--r-- | mysql-test/suite/innodb/t/innodb-mdev7046.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/suite/innodb/t/innodb-mdev7046.test b/mysql-test/suite/innodb/t/innodb-mdev7046.test index 3c74ff64275..24f1d3ab321 100644 --- a/mysql-test/suite/innodb/t/innodb-mdev7046.test +++ b/mysql-test/suite/innodb/t/innodb-mdev7046.test @@ -5,6 +5,7 @@ --disable_result_log --disable_warnings + # Ignore OS errors call mtr.add_suppression("InnoDB: File ./test/t1*"); call mtr.add_suppression("InnoDB: Error number*"); @@ -27,7 +28,7 @@ drop table t1; DROP DATABASE test;CREATE DATABASE test;USE test; SET @@session.storage_engine=MYISAM; ---error 0,1 +--error 0,1,1103 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)); drop table if exists t1; 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)); @@ -42,5 +43,5 @@ let $datadir=`select @@datadir`; --enable_result_log --enable_warnings +# make sure that we have at least some ouput to avoid mtr warning --echo 1 - |