On Sat, 19 Feb 2005 18:11:06 +0100, Timm Friebe <[EMAIL PROTECTED]> 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.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to