Re: $sth->err for multiples descriptors

2002-09-17 Thread Tim Bunce
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

Re: $sth->err for multiples descriptors

2002-09-11 Thread Tim Bunce
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

Re: $sth->err for multiples descriptors

2002-09-11 Thread Jeff Seger
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

$sth->err for multiples descriptors

2002-09-11 Thread sidi MOHAMED CHEINE
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