MySQL Forums
Forum List  »  Optimizer & Parser

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

Hello,

When mysql server plugins are using more than just the officially documented plugin service APIs (http://dev.mysql.com/doc/refman/5.7/en/plugin-services.html) 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: http://dev.mysql.com/doc/refman/5.7/en/compiling-plugin-libraries.html

Options: ReplyQuote


Subject
Views
Written By
Posted
2082
August 12, 2016 05:16PM
Re: Preparse Query Rewrite Plugin DLL
778
September 08, 2016 02:23AM
1125
September 14, 2016 07:04PM
842
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.