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

Dmitry Dulepov [typo3] dmitry at typo3.org
Sun Feb 3 18:58:55 CET 2008


Hi!

Michael Stucki wrote:
> There's a famous "duplicate error" which appears under various
> circumstances. See bug reference for details.
> 
> Solution:
> Actually has been an attempt to cleanup the cache access and also make it
> easier to understand. The solution is of the problem above was just a
> side-effect of it.
> 
> Still, it is theoretically possible that the problem still occurs if two
> similar requests are too short after each other, but I think chances are
> very rare for this to happen...

If we aim for MySQL 4.2, we could just use ON DUPLICATE KEY UPDATE. This is not DBAL-safe though...

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list