Re: PEAR::setErrorHandling conflicts with nextId() ?
| From: | Piotr Roszatycki | Date: | Thu, 30 Aug 2001 17:10:30 +0000 |
| Subject: | Re: PEAR::setErrorHandling conflicts with nextId() ? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1726@lists.php.net to get a copy of this message | ||
On Thu, 30 Aug 2001, Tomas V.V.Cox wrote:
> > I've found $dbh->nextId() breaks setErrorHandling().
> > This script should print error, but it doesn't.
>
> > $id = $dbh->nextId("service");
>
> There were a bug here. It's corrected now in the last CVS version of
> PEAR.php. Please try again with it.
I've updated PEAR from CVS and still $dbh->nextId disables error handling.
I use PostgreSQL database and AFAIK this method pushes and pops error
handling. Maybe the error is in pgsql.php file?
--
Piotr Roszatycki, Netia Telekom S.A. .''`.
mailto:Piotr_Roszatycki@netia.net.pl
: :' :
mailto:dexter@debian.org
. '
`-