The beginTransaction function in php does not return false when the database is not using the myISAM engine by default, or if tables are using myISAM instead of InnoDB.
How, then, can you error handle when this occurs?
The beginTransaction function in php does not return false when the database is not using the myISAM engine by default, or if tables are using myISAM instead of InnoDB.
How, then, can you error handle when this occurs?
I found this link where I can query the database and see if the table is myisam or innodb...but i don't know if thats the best solution. I would have to check before every query if the table is myisam or innodb. How do I find if my a table is MyISAM or Innodb