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

Michael Stucki michael at typo3.org
Sun Feb 3 22:27:07 CET 2008


Hey guys,

thanks for the suggestions on how to solve the duplicate entry thingie. The
point is just, that this patch is exactly fixing this problem.

And addtionally, and I think this is far more important: It makes the whole
thing a lot easier to read... :-)

- michael

ries van Twisk wrote:

> 
> 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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list