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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user