Hi, Oleksandr!

On Oct 11, Oleksandr Byelkin wrote:
> > > +  // Pre-check without protection
> > > +  if (!find_udf_everywhere(thd, udf_name->str, udf_name->length, table))
> >
> > you cannot check the udf_hash without a lock
> 
> I made an attempt of a fast check under read protection (because it
> looks like old code had pre-check).

As far as I can see, the old code was was using find_udf() that was
taking a read lock too.

Regards,
Sergei
VP of MariaDB Server Engineering
and secur...@mariadb.org

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to