1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

make encrypt-binlog and encrypt-tmp-files to fail if no encryption

--encrypt-binlog and --encrypt-tmp-files used to mean
"encrypt XXX if encryption is available, otherwise don't encrypt",
now they mean "encrypt or fail with an error".
This commit is contained in:
Sergei Golubchik
2015-09-08 17:07:34 +02:00
parent 39b46ae934
commit 7bd2f20e88
5 changed files with 39 additions and 26 deletions

View File

@ -21,7 +21,7 @@
#define KEY_SIZE (128/8)
my_bool encrypt_tmp_files;
void init_io_cache_encryption();
int init_io_cache_encryption();
uint encryption_key_get_latest_version_func(uint)
{
@ -79,7 +79,11 @@ struct encryption_service_st encryption_handler=
encryption_encrypted_length_func
};
void sql_print_information(const char *format, ...)
void sql_print_information(const char *format, ...)
{
}
void sql_print_error(const char *format, ...)
{
}