If an PHP PDO transaction fails, must I rollback() explicitely?

hanycq

New Member
I've seen an code example where someone does a \[code\]$dbh->rollback();\[/code\]when there occurs an PDOException. I thought the database will rollback automatically in such a case?
 
Back
Top