Re: Transactions in mdb2
| From: | Lukas Smith | Date: | Wed, 22 Mar 2006 14:45:13 +0000 |
| Subject: | Re: Transactions in mdb2 | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23386@lists.php.net to get a copy of this message | ||
Paolo Sala wrote:
Paolo Sala scrisse in data 03/22/06 13:10:It was a stupid foobar. In the past InnoDB was not bundled with all major MySQL binary releases, which is why you need to specifically enable transaction support. I probably should have changed this default before going to 1.0.0 but its too late now. $options['use_transactions'] = true; $options['default_table_type'] = 'InnoDB'; $mdb2 = MDB2::factory($dsn, $options); regards, LukasI'm trying to use transactions using pear::mdb2. The method supports('transactions') answer true but beginTransaction() return the error code "beginTransaction: transactions are not in use"I'm sorry, I have send the thread to quickly... the problem is that supports('transaction') answer true but supports('transactions') answer false. I have to guess I can't use transactions in mdb2? Is This feature not supported yet or my php, mysql or... configuration is not supported by mdb2?