Commit eafa2a14 authored by forkfun's avatar forkfun

enable partition_open_files_limit test

parent f974062c
...@@ -16,4 +16,3 @@ mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 chang ...@@ -16,4 +16,3 @@ mysql_embedded : Bug#12561297 2011-05-14 Anitha Dependent on PB2 chang
#show_explain : Psergey: random timeout in range-checked-for-each record query. #show_explain : Psergey: random timeout in range-checked-for-each record query.
file_contents : MDEV-6526 these files are not installed anymore file_contents : MDEV-6526 these files are not installed anymore
max_statement_time : cannot possibly work, depends on timing max_statement_time : cannot possibly work, depends on timing
partition_open_files_limit : open_files_limit check broken by MDEV-18360
DROP TABLE IF EXISTS `t1`; DROP TABLE IF EXISTS `t1`;
call mtr.add_suppression("option 'table_open_cache'");
call mtr.add_suppression("option 'max_connections'");
# Bug#46922: crash when adding partitions and open_files_limit is reached # Bug#46922: crash when adding partitions and open_files_limit is reached
CREATE TABLE t1 (a INT PRIMARY KEY) CREATE TABLE t1 (a INT PRIMARY KEY)
ENGINE=MyISAM PARTITION BY KEY () PARTITIONS 1; ENGINE=MyISAM PARTITION BY KEY () PARTITIONS 1;
......
-- source include/have_log_bin.inc
# We change binlog format inside the test, so no need to re-run with # We change binlog format inside the test, so no need to re-run with
# more than one binlog_format. # more than one binlog_format.
...@@ -9,13 +8,9 @@ ...@@ -9,13 +8,9 @@
# save status # save status
let $oblf=`select @@SESSION.BINLOG_FORMAT`;
let $otfc=`select @@log_bin_trust_function_creators`; let $otfc=`select @@log_bin_trust_function_creators`;
set global log_bin_trust_function_creators=0; set global log_bin_trust_function_creators=0;
# fail *on definition* # fail *on definition*
set binlog_format=STATEMENT; set binlog_format=STATEMENT;
...@@ -186,6 +181,7 @@ drop function fn16456; ...@@ -186,6 +181,7 @@ drop function fn16456;
# restore status # restore status
--disable_query_log --disable_query_log
eval set binlog_format=$oblf; set binlog_format=STATEMENT;
eval set global log_bin_trust_function_creators=$otfc; eval set global log_bin_trust_function_creators=$otfc;
reset master;
--enable_query_log --enable_query_log
# #
# MDEV-5317 Compound statement / anonymous blocks # MDEV-5317 Compound statement / anonymous blocks
# #
source include/have_log_bin.inc; source include/have_binlog_format_mixed_or_statement.inc;
delimiter |; delimiter |;
CREATE TABLE t1 (a INT PRIMARY KEY)| CREATE TABLE t1 (a INT PRIMARY KEY)|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment