Re: PDO/MySQL getColumnMeta() broken
| From: | Timm Friebe | Date: | Sun, 20 Feb 2005 11:16:48 +0000 |
| Subject: | Re: PDO/MySQL getColumnMeta() broken | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15119@lists.php.net to get a copy of this message | ||
On Sun, 2005-02-20 at 04:32 -0500, Wez Furlong wrote:
> 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.
Which wouldn't have helped because no error was raised at all, no
warning, no notice, no exception, nothing.
[...]
> Please add that to the bug report so that I can find it easily, and
> have something to refer to in the changelog.
http://pecl.php.net/bugs/bug.php?id=3529
Timm
If it ain't broken, it doesn't have enough features yet