Re: [PHP-PEAR] Re: [PHP-CVS] cvs: php4 /pear/Cache/Container db.php phplib.php

[email protected] (Chuck Hagenbuch) Fri, 2 Mar 2001 10:53:23 -0500
Newsgroups php.pear
Message-ID <[email protected]>
Quoting Ulf Wendel <[email protected]>:

> 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, <[email protected]>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist