Re: PDO/MySQL getColumnMeta() broken

From: Date: Sun, 20 Feb 2005 09:32:10 +0000
Subject: Re: PDO/MySQL getColumnMeta() broken
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15114@lists.php.net to get a copy of this message
On Sat, 19 Feb 2005 18:11:06 +0100, Timm Friebe <thekid@thekid.de> 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.

« previous php.internals (#15114) next »