sixohthree.com

ADOdb, MySQL, and Transactions

I was just bit by some assumptions I made with ADOdb, MySQL 5, and transaction support. I’ve been using Smart Transactions with success on other systems, but during my current project I noticed the SQL commands were being processed without respecting my FailTrans() call.

Turns out I was using a storage engine that did not support transactions. While InnoDB is ACID-compliant, MyISAM has no support for transactions. Whoops. A few ALTER TABLEs later and I’m back in business.

Posted 2008-07-23 at 11:03
Categories Personal
Tags , ,
Short URL http://sixohthree.com/493
Canonical URL http://sixohthree.com/493/adodb-mysql-and-transactions

Respond

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>