[TYPO3-core] RFC: Fix bug #5152: "Duplicate entry" in cache_pagesection when using frames

ries van Twisk typo3 at rvt.dds.nl
Sun Feb 3 19:22:02 CET 2008


On Feb 3, 2008, at 12:58 PM, Dmitry Dulepov [typo3] wrote:

> Hi!
>
> Michael Stucki wrote:
>>
>
> If we aim for MySQL 4.2, we could just use ON DUPLICATE KEY UPDATE.  
> This is not DBAL-safe though...
>


 From what I understand in MySQL it's a method to put two statements  
into one for some conditions. (when
a row already exists.... bla bla..

Can't this instead be done in a transaction so it would be compatible  
across multiple DB vendors?

Ries




More information about the TYPO3-team-core mailing list