MDB2 MySQL InnoDB & Transactions
| From: | Matthias Nothhaft | Date: | Fri, 21 Apr 2006 12:57:01 +0000 |
| Subject: | MDB2 MySQL InnoDB & Transactions | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-42307@lists.php.net to get a copy of this message | ||
Hi,
a stupid beginner question?: How do I configure MDB2 to be able to use
transations with MySQL (using InnoDB)?
$config = array(
'default_table_type' => 'INNODB'
);
$dbc = MDB2::singleton($mydsn, $config);
That's it ???
Will MDB2_Schema create all tables using InnoDB with that configuration?
Is it possible to mix 'table drivers' using MDB2_Schema? I guess no? :-(
Ok.. Thanks for any info!
Regards,
Matthias