I need help writing and compiling a "Preparse Query Rewrite Plugin" DLL for Windows. I'm using MySQL 5.7.12 64bit but I can change if needed. The closest I've gotten was with Visual Studio 2013. But at this time it does not link.
Error is ==>
1>MySQLQueryPreParserDLL.obj : error LNK2001: unresolved external symbol _PSI_server
The code I have I got from GitHub but I believe it's written for Linux. I've read the online documents but what am I missing? I can't find complete examples either. I know it can be done because of the "rewrite_example.dll" MySQL provides.
Here is the GitHub link...
https://github.com/google/mysql-protobuf/tree/467cda676afaa49e762c5c9164a43f6ad31a1fbf/plugin
Thanks in advance...
Error is ==>
1>MySQLQueryPreParserDLL.obj : error LNK2001: unresolved external symbol _PSI_server
The code I have I got from GitHub but I believe it's written for Linux. I've read the online documents but what am I missing? I can't find complete examples either. I know it can be done because of the "rewrite_example.dll" MySQL provides.
Here is the GitHub link...
https://github.com/google/mysql-protobuf/tree/467cda676afaa49e762c5c9164a43f6ad31a1fbf/plugin
Thanks in advance...