Browse Source
support for plugins on windows
support for plugins on windows
CMakeLists.txt:
1. add -DSAFEMALLOC -DSAFE_MUTEX in the top-level CMakeLists.txt
don't force plugins to copy-paste these lines in their CMakeLists.txt
2.1 search plugin/* for plugins (not only storage/*),
2.2 recognize MYSQL_PLUGIN (not only MYSQL_STORAGE_ENGINE),
2.3 extract library names from the plug.in (don't force library names to
be ha_<engine>.dll and <engine>.lib)
include/mysql/plugin.h:
define MYSQL_PLUGIN_EXPORT appropriately
(backport from 5.5)
libmysqld/CMakeLists.txt:
remove unnecessary workaround
plugin/fulltext/CMakeLists.txt:
build fulltext example plugin on windows
storage/maria/CMakeLists.txt:
The library is called libmaria_s.lib, not maria.lib
storage/maria/unittest/CMakeLists.txt:
The library is called libmaria_s.lib, not maria.lib
storage/myisam/CMakeLists.txt:
The library is called libmyisam_s.lib, not myisam.lib
storage/mysql_storage_engine.cmake:
introduce MYSQL_PLUGIN macro.
don't force library names to be ha_<engine>.dll and <engine>.lib
storage/xtradb/CMakeLists.txt:
remove a condition from include
win/README:
don't use deprecated syntax
win/configure-mariadb.sh:
don't use deprecated syntax
win/configure.js:
1. support MYSQL_PLUGIN in addition to MYSQL_STORAGE_ENGINE.
2. support plugin/* in addition to storage/*
pull/843/head
14 changed files with 127 additions and 115 deletions
-
5.bzrignore
-
48CMakeLists.txt
-
24include/mysql/plugin.h
-
27libmysqld/CMakeLists.txt
-
3plugin/fulltext/CMakeLists.txt
-
22storage/maria/CMakeLists.txt
-
3storage/maria/unittest/CMakeLists.txt
-
18storage/myisam/CMakeLists.txt
-
43storage/mysql_storage_engine.cmake
-
10storage/xtradb/CMakeLists.txt
-
12win/README
-
3win/configure-mariadb.bat
-
16win/configure-mariadb.sh
-
8win/configure.js
@ -0,0 +1,3 @@ |
|||
INCLUDE("${PROJECT_SOURCE_DIR}/storage/mysql_storage_engine.cmake") |
|||
SET(FTEXAMPLE_SOURCES plugin_example.c) |
|||
MYSQL_PLUGIN(FTEXAMPLE) |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue