mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
117ae892ad
when INNODB_DYNAMIC_PLUGIN is specified. The changes are: CMakeLists.txt: add project ha_innodb for dynamic plugin on Windows. ha_innodb depends on project mysqld. ha_innodb.def: a new file with standard exports for a dynamic plugin. Two new files will be added: * sql/mysqld.def: .def file for 32-bit compiler * sql/mysqld_x64.def: .def file for x64 compiler It is also required to apply a patch to the MySQL source tree. The patch is described in win-plugin/README: win-plugin/win-plugin.diff - a patch to be applied to MySQL source tree. When applied, the following files will be modified: * CMakeLists.txt: add INNODB_DYNAMIC_PLUGIN and _USE_32BIT_TIME_T * sql/CMakeLists.txt: add mysqld.def or mysqld_x64.def for mysqld * win/configure.js: add INNODB_DYNAMIC_PLUGIN * win/build-vs71.bat: provide an option to specify CMAKE_BUILD_TYPE * win/build-vs8.bat: provide an option to specify CMAKE_BUILD_TYPE * win/build-vs8_x64.bat: provide an option to specify CMAKE_BUILD_TYPE |
||
---|---|---|
.. | ||
README | ||
win-plugin.diff |
This directory contains patches that need to be applied to the MySQL source tree in order to build the dynamic plugin on Windows -- HA_INNODB.DLL. Please note the followings when adding the patches: * The patch must be applied from the mysql top-level source directory. patch -p0 < win-plugin.diff * The patch filenames end in ".diff". * All patches here are expected to apply cleanly to the latest MySQL 5.1 tree when storage/innobase is replaced with this InnoDB branch. When applying the patch, the following files will be modified: * CMakeLists.txt * sql/CMakeLists.txt * win/configure.js * win/build-vs71.bat * win/build-vs8.bat * win/build-vs8_x64.bat Also, two new files will be added: * sql/mysqld.def * sql/mysqld_x64.def You can get "patch" utility for Windows from http://unxutils.sourceforge.net/