summaryrefslogtreecommitdiff
path: root/mysql-test/suite/encryption/include
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2017-02-07 15:55:01 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2017-02-08 07:46:26 +0200
commit33aad616160ba8af0a9b4e55384132d970d14a34 (patch)
tree5a19147b0c059f6b38b3abac2a7f75c3578f7c0d /mysql-test/suite/encryption/include
parent6529a1282047e37c01133ea7827091d726a1090c (diff)
downloadmariadb-git-bb-10.2-MDEV-11974.tar.gz
MDEV-11974: MariaDB 10.2 encryption does not support spatial indexesbb-10.2-MDEV-11974
Encryption stores used key_version to FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION (offset 26) field. Spatial indexes store RTREE Split Sequence Number (FIL_RTREE_SPLIT_SEQ_NUM) in the same field. Both values can't be stored in same field. Thus, current encryption implementation does not support encrypting spatial indexes. fil0crypt.cc: Do not encrypt page if page type is FIL_PAGE_RTREE (this is required for background encryption innodb-encrypt-tables=ON) ha_innodb.cc: check_table_options() Do not allow creating table with ENCRYPTED=YES if table contains spatial index.
Diffstat (limited to 'mysql-test/suite/encryption/include')
0 files changed, 0 insertions, 0 deletions