PDO: Transactions don't roll back?

Check the PHP reference manual: PDO::beginTransaction.

Check the PHP reference manual: PDO::beginTransaction Some databases, including MySQL, automatically issue an implicit COMMIT when a database definition language (DDL) statement such as DROP TABLE or CREATE TABLE is issued within a transaction. The implicit COMMIT will prevent you from rolling back any other changes within the transaction boundary. This explains why this happens, and it's a limitation of MySQL, not of PDO/PHP.

Ahaaa. That makes sense! Thank you :) – Svish Mar 11 '10 at 16:09.

Make sure that all tables support transactions. For example MyISAM does not supports.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions