← Back to team overview

maria-developers team mailing list archive

Re: 7740cb24572: Don't use plugin->data for storage engine plugins

 

Hi, Sergey!

On Mar 31, Sergey Vojtovich wrote:
> revision-id: 7740cb24572 (mariadb-10.4.4-472-g7740cb24572)
> parent(s): da6d7f72b0a
> author: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> committer: Sergey Vojtovich <svoj@xxxxxxxxxxx>
> timestamp: 2019-11-15 15:23:42 +0400
> message:
> 
> Don't use plugin->data for storage engine plugins
> 
> Use plugin->plugin->info->hton instead.
> plugin_data() replaced with plugin_hton().
> plugin_hton() must never return NULL anymore and is only good to be called
> against plugins in PLUGIN_IS_READY state.

Why is that?
 
Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx


Follow ups