[Typo3-dev] Code change template cache logic
Ries van Twisk
typo3 at rvt.dds.nl
Thu Dec 8 14:51:45 CET 2005
joachim rinck wrote:
>Dennis Cheung wrote:
>
>
>>I think there is an better way in "REPLACE" statement in mysql.
>>
>>
>>
>REPLACE is one very nice thing to have in mysql. +1 for that. unfortunately it is not
>covered by dbal functions. correct me if i'm wrong;)
>jj
>_______________________________________________
>
>
I think that it should be done within a transaction block, not with a
propriaty mysql statement.
Other RDBMS do support a transaction block so there is no reason to use
REPLACE.
BEGIN
delete
insert
COMMIT;
-1 for using REPLACE.
Ries
More information about the TYPO3-dev
mailing list