summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-12-13 08:04:45 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-12-13 08:04:45 +0200
commit6b066ec33285c089ce770c2d1eb50bc49787ee92 (patch)
treefcc01b7b13566923c26ecba34e81324e181704a4 /mysql-test/suite/innodb/t
parent0745db71798ea7179140f4ffe85d6d69c9ba7da6 (diff)
downloadmariadb-git-6b066ec33285c089ce770c2d1eb50bc49787ee92.tar.gz
MDEV-27235: Crash on SET GLOBAL innodb_encrypt_tables
fil_crypt_set_encrypt_tables(): If no encryption threads have been initialized, do nothing.
Diffstat (limited to 'mysql-test/suite/innodb/t')
-rw-r--r--mysql-test/suite/innodb/t/temporary_table.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/temporary_table.test b/mysql-test/suite/innodb/t/temporary_table.test
index d7fe66e2efb..46ac867c1c2 100644
--- a/mysql-test/suite/innodb/t/temporary_table.test
+++ b/mysql-test/suite/innodb/t/temporary_table.test
@@ -121,6 +121,8 @@ show tables;
--error ER_CANT_CREATE_TABLE
create temporary table t1 (keyc int, c1 char(100), c2 char(100)) engine = innodb;
+SET GLOBAL innodb_encrypt_tables=DEFAULT;
+
--echo # test various bad start-up parameters
let SEARCH_FILE = $MYSQLTEST_VARDIR/log/mysqld.1.err;