Re: native error handling in PEAR::DB drivers

From: Date: Mon, 09 Jun 2003 18:33:45 +0000
Subject: Re: native error handling in PEAR::DB drivers
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17222@lists.php.net to get a copy of this message
# mj@php.net / 2003-06-09 18:57:35 +0200: > On Mon Jun 09, 2003 at 06:1619PM +0200, Roman Neuhauser wrote: > > For example, a user note at > > > > http://www.php.net/manual/en/function.mssql-get-last-message.php > > states that you can get the code from SELECT @@ERROR. This would > > make the mssql driver more compatible with the rest, but would this > > be welcome? > > Sounds good. turns out DB::mssql is already doing that, but this call is placed inside getCode(), which is wrong, of course. I'm shuffling a bit of the code right now, and will include patch for this in a bigger one. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html

« previous php.pear.dev (#17222) next »