Hi, Nikita,

On Oct 07, Nikita Malyavin wrote:
> >
> > Plugins don't have to choose. If the API is changed, all plugins
> > compiled with it use this version - the version they were compiled with.
> >
> Sounds weird. What would the version be for then?

It's the API version. When the API changes, the version is increased.

> Besides, there's 0x100 plugin, which is supposed to be compiled with
> version 0x0100 (I guess this means 1.0 and hence all the related
> renaming is done).

Yes, and it is compiled with version 0x0100.

> > But after looking at the second patch I think that you didn't
> > introduce any changes in the API, so the version doesn't need to be
> > increased at all.
> 
> I made -- now hash_password is called for empty password, which wasn't
> expected by old plugin.

It was, it starts from

  if (password_length == 0)
    *hash_length= 0;
  else

Regards,
Sergei
Chief Architect, MariaDB Server
and secur...@mariadb.org
_______________________________________________
developers mailing list -- developers@lists.mariadb.org
To unsubscribe send an email to developers-le...@lists.mariadb.org

Reply via email to