I am attempting to use the transaction functionality of MDB2. I'm using MySQL 5.0.22, default storage engine is InnoDB, but $mdb2->supports('transactions') returns false. Is this correct?
| SitePoint Sponsor |

I am attempting to use the transaction functionality of MDB2. I'm using MySQL 5.0.22, default storage engine is InnoDB, but $mdb2->supports('transactions') returns false. Is this correct?


I have never used MDB2, but it would seem impossible for it to know if the database it's connected to supports transactions. The storage engine in MySQL is set per table, so a database abstraction package would need to inspect every table it might query against to know if it's really safe to use transactions.
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Bookmarks