Re: Re: cvs: php4 /pear/Cache/Container db.php phplib.php
| From: | Chuck Hagenbuch | Date: | Fri, 02 Mar 2001 15:53:23 +0000 |
| Subject: | Re: Re: cvs: php4 /pear/Cache/Container db.php phplib.php | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1553@lists.php.net to get a copy of this message | ||
Quoting Ulf Wendel <uw@netuse.de>:
> Where I don't really care about as I won't write slow code to 95% of the
> users. No, I will not commit any changes to this. It's not really hard
> for the few non MySQL users to change this line. There's a clear warning
> in the online docs.
Then why bother using the DB:: layer? Why bother using phplib's db abstraction?
Just put the REPLACE INTO code into a Cache_Container_mysql class, and let
mysql users go ahead and use it, and don't bother with a db layer since it's
only ever going to work on mysql anyway.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist