Skip to content

Commit 423b8ed

Browse files
tests: fix max_parts tests (#68)
1 parent dfad440 commit 423b8ed

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

mysql-test/include/have_partition_open_file_limit.inc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ if (`select convert(@@version_compile_os using latin1) NOT IN ("Win32","Win64","
66
let $f_l=`SELECT c1 FROM t_o_f_l`;
77
--remove_file $MYSQL_TMP_DIR/osfileslimit.txt
88
DROP TABLE t_o_f_l;
9-
if ($f_l < $mysql_needed_max_files)
9+
if ($f_l != unlimited)
1010
{
11-
skip Need open_files_limit >= 24576 for myisam or 8192 for innodb (see ulimit -n) ;
11+
if ($f_l < $mysql_needed_max_files)
12+
{
13+
skip Need open_files_limit >= 24576 for myisam or 8192 for innodb (see ulimit -n) ;
14+
}
1215
}
1316
}
1417
--enable_query_log

0 commit comments

Comments
 (0)