27 Jan
2014
27 Jan
'14
10:39 a.m.
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