Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46654 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38254 invoked from network); 12 Jan 2010 07:42:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2010 07:42:44 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.179 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.179 c2beaomr01.btconnect.com Received: from [213.123.26.179] ([213.123.26.179:24782] helo=c2beaomr01.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/E9-26332-1F72C4B4 for ; Tue, 12 Jan 2010 02:42:42 -0500 Received: from [10.0.0.5] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2beaomr01.btconnect.com with ESMTP id EQG14251; Tue, 12 Jan 2010 07:42:38 GMT Message-ID: <4B4C27EE.2010604@lsces.co.uk> Date: Tue, 12 Jan 2010 07:42:38 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20090908 Fedora/1.1.18-1.fc11 pango-text SeaMonkey/1.1.18 MIME-Version: 1.0 To: PHP internals References: <20100112034735.GA3815@joeysmith.com> In-Reply-To: <20100112034735.GA3815@joeysmith.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=c2beaomr01.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A0B0201.4B4C27EF.00AA,ss=1,fgs=0, ip=0.0.0.0, so=2009-07-20 21:54:04, dmn=5.7.1/2009-08-27, mode=single engine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Passing error codes through to PDOException From: lester@lsces.co.uk (Lester Caine) Joey Smith wrote: > Maybe I'm up in the night, but I've just opened 50728 because I discovered that all > the PDO drivers had a hardcoded 0 where I would expect to see the driver-specific > error - a user reported this in ##PHP on Freenode and I take a stab at writing the > patches that would let the individual drivers pass their error code on to the user. > > They're attached to the bug as comments (the first against the tip of 5.3.2 > [svn #293440] and the second against HEAD [svn #293440]) - but I'm also attaching > them as udiffs to this email. > > If there's a reason that the PDOExceptions don't contain their driver-specific > error codes, feel free to ignore this. Joey - there is a separate list for PDO development pdo@lists.php.net And a todo list http://wiki.php.net/internals/pdo/brainstorming?s[]=pdo But very little actual work being done, so any assistance there would be welcome! -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php