Debian Codegraph @

mysql-test/suite/mariabackup/partition_notwin.test

raw
1 source include/not_windows.inc;
2 source include/have_partition.inc;
3 let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
4 let $log=$MYSQL_TMP_DIR/backup.log;
5
6 --echo #
7 --echo # MDEV-36437 mariabackup - confusing error message when running out of file handles with partitioned MyISAM
8 --echo #
9
10 create table t1 (
11 id bigint(20) not null auto_increment,
12 primary key (id)
13 ) engine=myisam
14 partition by hash (id)
15 partitions 600;
16
17 error 1;
18 exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --backup --target-dir=$targetdir > $log 2>&1;
19 let SEARCH_FILE=$log;
20 let SEARCH_PATTERN=Error 24 on file ./test/t1#P#p\d+\.MY[DI] open during `test`.`t1` table copy: Too many open files;
21 source include/search_pattern_in_file.inc;
22
23 rmdir $targetdir;
24 #remove_file $log;
25 drop table t1;