note 80295 added to function.PDO-rollBack
| From: | JonasJ at osu1 dot php dot net | Date: | Tue, 08 Jan 2008 21:59:50 +0000 |
| Subject: | note 80295 added to function.PDO-rollBack | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-134951@lists.php.net to get a copy of this message | ||
Just a quick (and perhaps obvious) note for MySQL users;
Don't scratch your head if it isn't working if you are using a MyISAM table to test the
rollbacks with.
Both rollBack() and beginTransaction() will return TRUE but the rollBack will not happen.
Convert the table to InnoDB and run the test again.
----
Server IP: 194.145.210.3
Probable Submitter: 82.35.102.49
----
Manual Page -- http://www.php.net/manual/en/function.PDO-rollBack.php
Edit -- https://master.php.net/note/edit/80295
Del: integrated -- https://master.php.net/note/delete/80295/integrated
Del: useless -- https://master.php.net/note/delete/80295/useless
Del: bad code -- https://master.php.net/note/delete/80295/bad+code
Del: spam -- https://master.php.net/note/delete/80295/spam
Del: non-english -- https://master.php.net/note/delete/80295/non-english
Del: in docs -- https://master.php.net/note/delete/80295/in+docs
Del: other reasons-- https://master.php.net/note/delete/80295
Reject -- https://master.php.net/note/reject/80295
Search -- https://master.php.net/manage/user-notes.php