1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

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.
This commit is contained in:
Sergei Golubchik
2015-05-27 12:08:13 +02:00
parent d9340d6c8e
commit 432b78c903
5 changed files with 32 additions and 9 deletions

View File

@@ -32,6 +32,9 @@ extern "C" {
#define ENCRYPTION_KEY_VERSION_INVALID (~(unsigned int)0)
#define ENCRYPTION_KEY_NOT_ENCRYPTED (0)
#define ENCRYPTION_KEY_SYSTEM_DATA 1
#define ENCRYPTION_KEY_TEMPORARY_DATA 2
/* returned from encryption_key_get() */
#define ENCRYPTION_KEY_BUFFER_TOO_SMALL (100)