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

small cleanup

* my_aes.h doesn't compile without my_global.h
* typo in a comment
* redundant condition
* if encryption plugin fails, there's no encryption_key_manager
  at plugin deinit time
* encryption plugin tests must run when plugin.so is present,
  not when a plugin is active (otherwise the test will be skipped
  when plugin fails to initialize).
This commit is contained in:
Sergei Golubchik
2015-03-28 10:55:31 +01:00
parent 88632726e8
commit 5fcba6eb26
6 changed files with 8 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
-- source encryption_algorithms.inc
if (`select count(*) = 0 from information_schema.plugins
where plugin_name = 'example_key_management' and plugin_status='active'`)
if (!$EXAMPLE_KEY_MANAGEMENT_SO)
{
--skip Needs example_key_management
}

View File

@@ -1,7 +1,6 @@
-- source encryption_algorithms.inc
if (`select count(*) = 0 from information_schema.plugins
where plugin_name = 'file_key_management' and plugin_status='active'`)
if (!$FILE_KEY_MANAGEMENT_SO)
{
--skip Needs file_key_management
}