Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46653 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12928 invoked from network); 12 Jan 2010 03:59:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2010 03:59:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=joey@joeysmith.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=joey@joeysmith.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain joeysmith.com designates 209.90.98.146 as permitted sender) X-PHP-List-Original-Sender: joey@joeysmith.com X-Host-Fingerprint: 209.90.98.146 host-3.pl1071314.fiber.net Received: from [209.90.98.146] ([209.90.98.146:58217] helo=joeysmith.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/26-26332-9A3FB4B4 for ; Mon, 11 Jan 2010 22:59:38 -0500 Received: from joey by joeysmith.com with local (Exim 4.69) (envelope-from ) id 1NUXv0-0001Au-3w for internals@lists.php.net; Mon, 11 Jan 2010 20:59:46 -0700 Date: Mon, 11 Jan 2010 20:59:46 -0700 To: internals@lists.php.net Message-ID: <20100112035946.GB3815@joeysmith.com> References: <20100112034735.GA3815@joeysmith.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="5/uDoXvLw7AC5HRs" Content-Disposition: inline In-Reply-To: <20100112034735.GA3815@joeysmith.com> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: [PHP-DEV] Passing error codes through to PDOException From: joey@joeysmith.com (Joey Smith) --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I also just attached the following to the bug - it's a test that checks this fix in the sqlite driver - I can write tests for all the others if need be, but I figured there are others who might already be more familiar with the individual PDO drivers that would write them more quickly than I. --5/uDoXvLw7AC5HRs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bug50728.phpt" --TEST-- Bug #50728 (All PDOExceptions hardcode 'code' property to 0) (crash on PDO::FETCH_CLASS + __set()) --SKIPIF-- --FILE-- getCode()); } ?> --EXPECTF-- int(14) --5/uDoXvLw7AC5HRs--