[TYPO3-dev] locking of records

Michael Scharkow mscharkow at gmx.net
Fri Jan 27 20:48:26 CET 2006


Peter Russ wrote:
> Ernesto Baschny [cron IT] schrieb:
> [...]
> 
>> I think more interesting would be consistency checks on SAVING of
>> records. This is called Optimistic Locking.
> 
> [...]
> Good point.
> But how would you handle that technically?
> Checksum on what, which fields are relevant for the hash?

Yes, optimistic locking is a very cool feature.

Why not checksum all of the fields (can you checksum an array? Otherwise 
you'd have to serialize it first)?

Cheers,
Michael




More information about the TYPO3-dev mailing list