MySQL Forums
Forum List  »  Optimizer & Parser

Re: Preparse Query Rewrite Plugin DLL
Posted by: Georgi Kodinov
Date: September 08, 2016 02:23AM


When mysql server plugins are using more than just the officially documented plugin service APIs ( they need to link to the mysqld binary. This is to allow satisfying the dll's external symbol references to symbols in the executable at INSTALL PLUGIN time. It's not a real link, since the binary is not actually embedded into the dll.
But this makes the plugins dependent on functionality that's not guaranteed to be stable across binary versions.

In your case you're trying to use the server's performance schema memory instrumentation APIs (mysql_memory_register etc). This is not a published API atm.

We also offer a device to compile your plugins in a way that's guaranteed to have these resolved. Please check the following section from the reference manual:

Options: ReplyQuote

Written By
August 12, 2016 05:16PM
Re: Preparse Query Rewrite Plugin DLL
September 08, 2016 02:23AM
September 14, 2016 07:04PM
September 15, 2016 01:40AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.