summaryrefslogtreecommitdiff
path: root/plugin/server_audit
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-04-25 15:44:18 +0200
committerSergei Golubchik <serg@mariadb.org>2017-04-27 19:12:38 +0200
commit7bf409593e624deb00265e21e0d4579ce9fa7999 (patch)
tree7da6af1ff5a92126af5969a9504a82ddcf4cf263 /plugin/server_audit
parentdb3910741347e7d741f4a854075c248e9081d722 (diff)
downloadmariadb-git-7bf409593e624deb00265e21e0d4579ce9fa7999.tar.gz
MDEV-11660 Make encryption plugins "pure"
Do not exporting mysqld entry points directly. This is needed for mariabackup, to load encryption plugins on Windows. All plugins are "pure" by default. To mark plugin "impure" it should use RECOMPILE_FOR_EMBEDDED or STORAGE_ENGINE keyword.
Diffstat (limited to 'plugin/server_audit')
-rw-r--r--plugin/server_audit/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/server_audit/CMakeLists.txt b/plugin/server_audit/CMakeLists.txt
index 2c9964543bf..056a11f3753 100644
--- a/plugin/server_audit/CMakeLists.txt
+++ b/plugin/server_audit/CMakeLists.txt
@@ -13,7 +13,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
-SET(SERVER_AUDIT_SOURCES
- server_audit.c test_audit_v4.c plugin_audit_v4.h)
+SET(SOURCES server_audit.c test_audit_v4.c plugin_audit_v4.h)
- MYSQL_ADD_PLUGIN(server_audit ${SERVER_AUDIT_SOURCES} MODULE_ONLY)
+MYSQL_ADD_PLUGIN(server_audit ${SOURCES} MODULE_ONLY RECOMPILE_FOR_EMBEDDED)