Hello again!
My question maybe looks very dummy, but I truly don't know. Should I use InnoDB if I want to be able to use beginTransaction and so on... ?
Penko
Page 1 of 1
Do I need InnoDB to use Yii transactions?
#2
Posted 18 February 2009 - 01:53 PM
Yes, you need InnoDB for transactions. MyISAM doesn't support transactions and uses table-level locking.
#3
Posted 19 February 2009 - 02:59 AM
So, Qiang, can you say the final word, do I have to you InnoDB, to use Yii transactions?
I don't have InnoDB Preinstalled, so I will have to install it manually and this takes effors, that's why I am asking.
I don't have InnoDB Preinstalled, so I will have to install it manually and this takes effors, that's why I am asking.
#4
Posted 19 February 2009 - 06:51 AM
What waylex said is correct. Note that Yii DAO is just a think wrapper of PDO. Please refer to the following page for more information:
http://us.php.net/ma...transaction.php
http://us.php.net/ma...transaction.php
#5
Posted 19 February 2009 - 07:53 AM
Ah, I see now. I hope I will be able to install InnoDB manually, without reinstalling AppServ.
Share this topic:
Page 1 of 1

Help
This topic is locked










