1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-20306 Assert when converting encrypted Aria table to S3

Changes:
- maria_create() now uses a bit in the parameter flags to check if table
  should be encrypted instead of using maria_encrypted_tables.
- Don't encrypt tables that are to be converted to S3
- Added encrypted flag to ARIA_TABLE_CAPABILITIES
- maria_chk --description now prints if table is encrypted. Other
  operations is not allowed on encrypted tables.
This commit is contained in:
Monty
2019-08-14 00:18:58 +03:00
committed by Sergei Golubchik
parent bb6d674df9
commit 1b5e5bdef3
10 changed files with 84 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ typedef struct st_aria_table_capabilities
enum data_file_type data_file_type;
my_bool checksum;
my_bool transactional;
my_bool encrypted;
/* This is true if the table can be copied without any locks */
my_bool online_backup_safe;
/* s3 capabilities */