Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15114 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1743 invoked by uid 1010); 20 Feb 2005 10:07:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54728 invoked from network); 20 Feb 2005 09:32:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2005 09:32:13 -0000 X-Host-Fingerprint: 64.233.184.194 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.194:31043] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 1.2 (r4437)) with SMTP id B2/79-06388-C1958124 for ; Sun, 20 Feb 2005 04:32:12 -0500 Received: by wproxy.gmail.com with SMTP id 63so286773wri for ; Sun, 20 Feb 2005 01:32:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=E8xqA06XNrH5F4zjs43ofnSYllJsy8VSDqn7gL6SjmR4wR5tICyc4mIwPaB7Jfk0V3yr5qLszK8M8O1yRX6VN1KSTvq4H50QSGz4DsCjVcUFYZBXjQtQvuzdILm6+D/0WsXaoGOg6DdVXLVOxhIjU+iIhPK7OyV+fZKOOuUEDx8= Received: by 10.54.17.23 with SMTP id 23mr89911wrq; Sun, 20 Feb 2005 01:32:10 -0800 (PST) Received: by 10.54.59.22 with HTTP; Sun, 20 Feb 2005 01:32:10 -0800 (PST) Message-ID: <4e89b426050220013247184025@mail.gmail.com> Date: Sun, 20 Feb 2005 04:32:10 -0500 Reply-To: Wez Furlong To: internals@lists.php.net In-Reply-To: <1108833066.316.29.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1108833066.316.29.camel@localhost> Subject: Re: [PHP-DEV] PDO/MySQL getColumnMeta() broken From: kingwez@gmail.com (Wez Furlong) On Sat, 19 Feb 2005 18:11:06 +0100, Timm Friebe wrote: > with no indication what went wrong. Please read the OTN article to learn about the error modes in PDO. (I expect everyone to have read this!) I find setting this: $dbh->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_EXCEPTION); a useful tool while prototyping a script. > Actually, nothing went wrong, ext/pdo_mysql/mysql_statement.c just > contains a bogus check (there doesn't need to be any current result data > just to fetch result metadata). Please open bugs via pecl.php.net, as I requested in my call for testers (where I also mentioned the OTN article, which coincidentally explained about data coming back as strings), thanks. > Index: ext/pdo_mysql/mysql_statement.c Please add that to the bug report so that I can find it easily, and have something to refer to in the changelog. Thanks, --Wez.