[MDEV-19329] ERROR: add multi different types plugin Created: 2019-04-25  Updated: 2019-04-26  Resolved: 2019-04-25

Status: Closed
Project: MariaDB Server
Component/s: Plugins
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: power Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

Yes , have two plugins of different types in one .so (or .dll) file!

You said that:

What do you mean, you wrote a plugin that has two types? A plugin cannot have two types. Do you mean, you have two plugins of different types in one .so (or .dll) file? This is fine, many storage engines do that.
That line works when somebody does INSTALL PLUGIN ..., it is reached of the plugin was successfully loaded. It means "if the plugin name was specified (that is, it's INSTALL PLUGIN), then we're done."

Whenever mariadb run , it will load the .so (or .dll) file , then only the first plugins type is handed, the second plugin type is pass by the code:
if (name->str)
DBUG_RETURN(FALSE); // all done

Thanks !



 Comments   
Comment by Sergei Golubchik [ 2019-04-25 ]

This is a bug database and not a dicussion forum. So far what you describe does not look like a bug. If you need help with your plugin, please write to maria-developers@lists.launchpad.net

Generated at Thu Feb 08 08:50:50 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.