Re: [libdbi-users] Feedback and Questions [resend]

2008-02-18 Thread Rainer Gerhards
: Markus Hoenicka; libdbi-users@lists.sourceforge.net > Subject: Re: [libdbi-users] Feedback and Questions [resend] > > It just appears to me that we must have MSSQL in our lab. I'll see that > I get some machine next week and try the make check. Will post results, > but probably not before

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-17 Thread Rainer Gerhards
Message- > From: [EMAIL PROTECTED] [mailto:libdbi-users- > [EMAIL PROTECTED] On Behalf Of Markus Hoenicka > Sent: Saturday, February 16, 2008 4:40 PM > To: libdbi-users@lists.sourceforge.net > Subject: Re: [libdbi-users] Feedback and Questions [resend] > > Rainer Gerhards writes:

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-16 Thread Markus Hoenicka
Rainer Gerhards writes: > I suggest to add a "_r" prefix, e.g. dbi_initialize() becomes > dbi_initialize_r(). I think this is in line with clib functions like > strerror() and strerror_r(). While the actual code fix with strerror() > (renentrancy) is not 100% identical to what we see here, I th

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-16 Thread Rainer Gerhards
> > I had a somewhat deeper look at dbi_main now. I think four or five > > functions would need to be changed in the way you propose. However, > as > > The functions dbi_initialize(), dbi_shutdown(), > dbi_driver_list(), and dbi_driver_open() access rootdriver. All of > these can easily be modif

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-16 Thread Rainer Gerhards
Hi Toby, > -Original Message- > From: Toby Thain [mailto:[EMAIL PROTECTED] > Sent: Saturday, February 16, 2008 12:36 AM > To: Rainer Gerhards > Cc: libdbi-users@lists.sourceforge.net; libdbi-drivers- > [EMAIL PROTECTED] > Subject: Re: [libdbi-users] Feedback and Q

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Toby Thain
On 15-Feb-08, at 4:06 AM, Rainer Gerhards wrote: > ... > A second question is on the status of the Ingres/mSQL and Oracle > drivers. ... > I got the impression that at least the Oracle driver can be used in > practice (I don't have any of these systems to verify). ... Hi Rainer, I contributed t

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Markus Hoenicka
Rainer Gerhards writes: > Markus, > > I had a somewhat deeper look at dbi_main now. I think four or five > functions would need to be changed in the way you propose. However, as The functions dbi_initialize(), dbi_shutdown(), dbi_driver_list(), and dbi_driver_open() access rootdriver. All of

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Markus Hoenicka > Sent: Friday, February 15, 2008 7:00 PM > To: libdbi-users@lists.sourceforge.net > Subject: Re: [libdbi-users] Feedback and Questions [resend] > > Rainer Gerhar

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
f > Of Markus Hoenicka > Sent: Friday, February 15, 2008 6:53 PM > To: libdbi-users@lists.sourceforge.net > Subject: Re: [libdbi-users] Feedback and Questions [resend] > > Rainer Gerhards writes: > > I just notice that you don't list openTDS as a core > driver. Any

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Markus Hoenicka
Rainer Gerhards writes: > I just notice that you don't list openTDS as a core driver. Any problems > with that one. Or have you just overlooked it? I probably have an actual > use case to run it against Sybase soon. "core" currently means that I can test it on one of my boxen :-) I do not have

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Markus Hoenicka
Rainer Gerhards writes: > In any case, I suggest that a second call of dbi_initialize() inside the > same instance should return an error state - sounds better than > unpredictable behavior. Making it multi-init safe could IMHO easily be > done by using one additional handle. > I can't claim

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
rkus Hoenicka; libdbi-users@lists.sourceforge.net > Subject: Re: [libdbi-users] Feedback and Questions [resend] > > > > Would rsyslog be suitable to run such a test, e.g. by > > > loading the output plugin and another (maybe renamed) copy of the > > same > > > plug

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
> > 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

Re: [libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
Hi Markus, thanks for the quick reply, much appreciated. > > As I said, rsyslog itself uses plugins. I have no control over who > > writes and loads which plugins (neither would I like to have to ;)). > > What happens if another (maybe not-yet-written) plugin also uses > libdbi > > and ALSO c

[libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Markus Hoenicka
Rainer Gerhards writes: > As I said, rsyslog itself uses plugins. I have no control over who > writes and loads which plugins (neither would I like to have to ;)). > What happens if another (maybe not-yet-written) plugin also uses libdbi > and ALSO calls dbi_initialize()? I guess this is not su

[libdbi-users] Feedback and Questions [resend]

2008-02-15 Thread Rainer Gerhards
[I had mail troubles and are now re-sending this message. Hopefully it doesn't produce dulicates...] Hi there, I have just implemented libdbi in my rsyslog project (http://www.rsyslog.com). I wanted to provide some feedback and also post some questions ;) Rsyslog is a vastly enhanced modular sys