[TYPO3-dev] Idea: add transaction support to t3lib_db

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Mar 4 15:06:44 CET 2011


Hi!

Jigal van Hemert wrote:
> Could work if startTransaction() would return if a transaction is possible.

Not possible unfortunately:
- START TRANSACTION is always successful (even on MyISAM)
- checking table type would be too expensive

Also if the transaction is not possible, what would you do? I expect, you 
would proceed anyway :)

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list