Skip to content

Commit

Permalink
fix encryption.tempfiles to check that encrypt_tmp_files is ON
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Feb 8, 2018
1 parent 06d77eb commit 47d1679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mysql-test/suite/encryption/r/tempfiles.result
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
select @@encrypt_tmp_files;
@@encrypt_tmp_files
1
CREATE TABLE t1(a INT);
INSERT INTO t1 VALUES(1),(2);
DELETE FROM t1 WHERE a=1;
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/encryption/t/tempfiles.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--encrypt-tmp-files
2 changes: 2 additions & 0 deletions mysql-test/suite/encryption/t/tempfiles.test
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ source include/have_binlog_format_row.inc;
# engine. But there's no need to run it twice for InnoDB and XtraDB.
source include/have_xtradb.inc;

select @@encrypt_tmp_files;

#
# MyISAM messing around with IO_CACHE::file
#
Expand Down

0 comments on commit 47d1679

Please sign in to comment.