maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #06706
Re: MDEV-5345 - Deadlock between mysql_change_user(), SHOW VARIABLES
Sergei,
On Mon, Jan 27, 2014 at 12:32:19PM +0400, Sergey Vojtovich wrote:
...skip...
> > > I'd suggest to remove plugin_mem_root at all. We can store plugin structures
> > > on dynamic arrays instead (instead of storing just pointers).
> >
> > Hmm. Interesting. In a separate changeset then.
> > Can you commit it and let me see?
> Yep, I will submit another patch some time soon.
It came to be not as simple as I thought. Inserting new item to array may call
realloc, which may invalidate all previously acquired plugin pointers.
Regards,
Sergey
References