Bug #17202 Fulltext Plugin will not work with Windows
Submitted: 7 Feb 2006 20:29 Modified: 4 Jul 2006 23:04
Reporter: Mark Leith Email Updates:
Status: Can't repeat Impact on me:
Category:MySQL Server: FULLTEXT search Severity:S2 (Serious)
Version:5.1-BK OS:Microsoft Windows (Windows)
Assigned to: CPU Architecture:Any

[7 Feb 2006 20:29] Mark Leith
Every plugin library must include a library descriptor that must define two symbols:

* _mysql_plugin_interface_version_ specifies the version number of the general plugin framework. This is given by the MYSQL_PLUGIN_INTERFACE_VERSION symbol, which is defined in the plugin.h file.

* _mysql_plugin_declarations_ defines an array of plugin declarations, terminated by a declaration with all members set to 0. Each declaration is an instance of the st_mysql_plugin structure (also defined in plugin.h). There must be one of these for each plugin in the library.

How to repeat:
Try to compile the fulltext plugin on Windows

Suggested fix:
The above 2 symbols should be modified to STDCALL as is done within libmysql.dll, and should allow creation of the *.def file to allow them to be exported. 

Perhaps we could include a vs project file for an example within the source as well?
[9 Feb 2006 16:35] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

[13 Feb 2006 14:20] Sergey Vlasenko
Fix is available in 5.1.7
[27 Jun 2006 16:13] Calvin Sun
The makefiles have been compltely changed (to CMake) in 5.1, and this change does not apply anymore. CSC8140 is already closed according to Mark Leith.