summaryrefslogtreecommitdiff
path: root/mysql-test/suite/encryption/t/innodb_lotoftables.opt
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2016-09-22 16:32:26 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2016-09-22 16:38:24 +0300
commit2bedc3978b90bf5abe1029df393c63ced1849bed (patch)
tree1afa5fe2f562ae577566cf7a67e90fb110682c99 /mysql-test/suite/encryption/t/innodb_lotoftables.opt
parente387bfafbbb01ccfabeb2beb86efb199ca2ca3ac (diff)
downloadmariadb-git-2bedc3978b90bf5abe1029df393c63ced1849bed.tar.gz
MDEV-9931: InnoDB reads first page of every .ibd file at startup
Analysis: By design InnoDB was reading first page of every .ibd file at startup to find out is tablespace encrypted or not. This is because tablespace could have been encrypted always, not encrypted newer or encrypted based on configuration and this information can be find realible only from first page of .ibd file. Fix: Do not read first page of every .ibd file at startup. Instead whenever tablespace is first time accedded we will read the first page to find necessary information about tablespace encryption status. TODO: Add support for SYS_TABLEOPTIONS where all table options encryption information included will be stored.
Diffstat (limited to 'mysql-test/suite/encryption/t/innodb_lotoftables.opt')
-rw-r--r--mysql-test/suite/encryption/t/innodb_lotoftables.opt3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/suite/encryption/t/innodb_lotoftables.opt b/mysql-test/suite/encryption/t/innodb_lotoftables.opt
new file mode 100644
index 00000000000..ffb5a2957f8
--- /dev/null
+++ b/mysql-test/suite/encryption/t/innodb_lotoftables.opt
@@ -0,0 +1,3 @@
+--innodb-tablespaces-encryption
+--innodb-encrypt-tables=off
+--innodb-encryption-threads=0