Re: PEAR::DB, backends and assertExtension
| From: | Tomas V.V.Cox | Date: | Sun, 14 Oct 2001 15:30:46 +0000 |
| Subject: | Re: PEAR::DB, backends and assertExtension | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2284@lists.php.net to get a copy of this message | ||
Markus Fischer wrote:
>
> On Sun, Oct 14, 2001 at 01:22:44AM +0200, Stig S. Bakken wrote :
> > No you haven't overseen anything, so feel free to make it
> > suff^H^H^H^Hconsistent :-)
>
> Ok, but this would mean to change DB::assertExtension *not* to
> call trigger_error(). This is redundant because an meaningfull
> error object is passed back.
>
> Everyone feeling fine with this?
>
Not me, but think that is too late :-) I liked that Pear DB dies when
the supported isn't compiled in. Also what we need is not a change in
DB::assertExtension, instead we need a common assertExtension method
(for example in PEAR.php).
Tomas V.V.Cox