Re: Transactions in mdb2
| From: | Lukas Smith | Date: | Wed, 22 Mar 2006 17:36:07 +0000 |
| Subject: | Re: Transactions in mdb2 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23397@lists.php.net to get a copy of this message | ||
Paolo Sala wrote:
...I hope you forgive my newbeness questions: how can I know if the table is "transaction enabled"? If it is not, there is a way to do it transaction enabled? Perhaps it depends from mysql installation?yes .. these days mysql bundles innodb with all major binary distributions. the easiest way to determine the table handler is to use: SHOW CREATE TABLE [tablename] to change the table type you need to use: ALTER TABLE [tablename] TYPE = innodb
yes ... i know: http://pooteeweet.org/blog/336 regards, Lukasthe default_table_handler option for example simply means that MDB2 will create all tables with this table handler by default. MDB2 also determines based on this setting if you are using transactional table handlers or not ..I've found so poor documentation about mdb2...