> > Would rsyslog be suitable to run such a test, e.g. by
> > loading the output plugin and another (maybe renamed) copy of the
> same
> > plugin? This is an interesting problem also for other projects which
> > use a plugin system and libdbi.
> 
> I can do that with rsyslog. Actually, I just need to remove an if()
> that
> guards multiple instances from my plugin to call libdbi init more than
> once. I'll try to do that Monday. Let you know the results when I have
> them. It will probably not a very in-depth test, but at least it can
> provide some idea of how things happen to work.

OK, I did a quick test using what I proposed. That worked fine (aka "no
crashes and data inserted"). But, of course, it struck me that this was
different from your question. After all, it now was the same instance
that called dbi_initialize() twice.

I'll now see that I create a copy of the plugin and rename it and then
try it again. That won't fit today, I fear ;)

Rainer

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to