summaryrefslogtreecommitdiff
path: root/storage/innobase/include/fil0crypt.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-05-27 12:08:13 +0200
committerSergei Golubchik <serg@mariadb.org>2015-06-02 18:53:37 +0200
commit432b78c90376aac4fda94317fd20eced33d08230 (patch)
tree400b6d9bd928cc2dd0d7be000910b0c2ce9a59b5 /storage/innobase/include/fil0crypt.h
parentd9340d6c8e1b227044fc90bc40c5da1d1f6b0dcc (diff)
downloadmariadb-git-432b78c90376aac4fda94317fd20eced33d08230.tar.gz
just like tempfiles: use key id 2 for temp Aria tables
introduce ENCRYPTION_KEY_SYSTEM_DATA and ENCRYPTION_KEY_TEMPORARY_DATA constants; use them everywhere.
Diffstat (limited to 'storage/innobase/include/fil0crypt.h')
-rw-r--r--storage/innobase/include/fil0crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/fil0crypt.h b/storage/innobase/include/fil0crypt.h
index f9f481111ca..df69ec28932 100644
--- a/storage/innobase/include/fil0crypt.h
+++ b/storage/innobase/include/fil0crypt.h
@@ -27,7 +27,7 @@ Created 04/01/2015 Jan Lindström
#define fil0crypt_h
/* This key will be used if nothing else is given */
-#define FIL_DEFAULT_ENCRYPTION_KEY 1
+#define FIL_DEFAULT_ENCRYPTION_KEY ENCRYPTION_KEY_SYSTEM_DATA
/** Enum values for encryption table option */
typedef enum {