File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
mysql-test/suite/plugins/t
example_key_management_plugin
file_key_management_plugin Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ if (!$DIALOG_EXAMPLES_SO) { skip requires dialog_examples.so; }
2
2
if (!$HA_EXAMPLE_SO) { skip requires ha_examples.so; }
3
3
if (!$LIBDAEMON_EXAMPLE_SO) { skip requires libdaemon_examples.so; }
4
4
if (!$UDF_EXAMPLE_SO) { skip requires udf_example.so; }
5
+ if (!$EXAMPLE_KEY_MANAGEMENT_PLUGIN_SO) { skip requires example_key_management_plugin_so; }
5
6
6
7
flush status;
7
8
show status like '%libraries%';
Original file line number Diff line number Diff line change 1
1
MYSQL_ADD_PLUGIN (EXAMPLE_KEY_MANAGEMENT_PLUGIN example_key_management_plugin.cc
2
- MODULE_ONLY )
2
+ MODULE_ONLY ONLY_IF HAVE_EncryptAes128Ctr )
Original file line number Diff line number Diff line change 1
1
SET (FILE_KEY_MANAGEMENT_PLUGIN_SOURCES file_key_management_plugin.cc EncKeys.cc KeySingleton.cc )
2
2
3
+ IF (NOT SSL_SOURCES )
4
+ SET (USING_OPENSSL ON )
5
+ ENDIF ()
6
+
3
7
MYSQL_ADD_PLUGIN (FILE_KEY_MANAGEMENT_PLUGIN ${FILE_KEY_MANAGEMENT_PLUGIN_SOURCES}
4
- LINK_LIBRARIES pcre )
8
+ LINK_LIBRARIES pcre ONLY_IF USING_OPENSSL )
You can’t perform that action at this time.
0 commit comments