I wasn't very clear, sorry. Add those two lines to the *driver* source code.
Tim.
On Tue, Sep 17, 2002 at 11:30:58AM +0200, sidi MOHAMED CHEINE wrote:
>
> Or want that I add these two lines. In my program I call upon the method connect,
>as follows $dbh=DBI->connect() and not $dbh = DBI
The docs say:
The DBI resets $h->err to undef before most DBI method calls, so the
value only has a short lifespan. Also, most drivers share the same
error variables across all their handles, so calling a method on
one handle will typically reset the error on all the other handles
Could you provide a code sample?
On Wed, 2002-09-11 at 10:51, sidi MOHAMED CHEINE wrote:
> I have a problem with dbi, I set up a system of
> capture of error.
> In my program I use two descriptors dbi, only when I
> intercept an error on the undes descriptors, the tests
> of errors $sth->err gi
I have a problem with dbi, I set up a system of
capture of error.
In my program I use two descriptors dbi, only when I
intercept an error on the undes descriptors, the tests
of errors $sth->err gives the same result on both. Is
what somebody would have a solution has to propose to
me
thank you