summaryrefslogtreecommitdiff
path: root/mysql-test/suite/encryption/t
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/encryption/t')
-rw-r--r--mysql-test/suite/encryption/t/innodb_encrypt_log_corruption.opt1
-rw-r--r--mysql-test/suite/encryption/t/tempfiles.test3
2 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/suite/encryption/t/innodb_encrypt_log_corruption.opt b/mysql-test/suite/encryption/t/innodb_encrypt_log_corruption.opt
index 8070b5a6182..ae20d676be3 100644
--- a/mysql-test/suite/encryption/t/innodb_encrypt_log_corruption.opt
+++ b/mysql-test/suite/encryption/t/innodb_encrypt_log_corruption.opt
@@ -3,3 +3,4 @@
--loose-file-key-management
--loose-file-key-management-filename=$MYSQL_TEST_DIR/std_data/logkey.txt
--file-key-management-encryption-algorithm=aes_cbc
+--innodb-log-file-size=5242880
diff --git a/mysql-test/suite/encryption/t/tempfiles.test b/mysql-test/suite/encryption/t/tempfiles.test
index e2fd356bb82..74d03f5a448 100644
--- a/mysql-test/suite/encryption/t/tempfiles.test
+++ b/mysql-test/suite/encryption/t/tempfiles.test
@@ -32,6 +32,7 @@ select sql_big_result t,count(t) from t1 group by t limit 10;
drop table t1;
reset master;
+set @save_binlog_cache_size=@@global.binlog_cache_size;
set global binlog_cache_size=8192;
connect con1, localhost, root;
@@ -74,7 +75,7 @@ flush binary logs;
drop table t1, t2;
-set global binlog_cache_size=default;
+set @@global.binlog_cache_size=@save_binlog_cache_size;
let $MYSQLD_DATADIR= `select @@datadir`;
exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000001 | $MYSQL;