[MDB] transaction syntax (just to be sure..)
| From: | Thierry Bothorel | Date: | Sun, 07 Sep 2003 02:20:30 +0000 |
| Subject: | [MDB] transaction syntax (just to be sure..) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-7619@lists.php.net to get a copy of this message | ||
Hi,
as it is not very clear reading the API manual, is this the correct syntax
to run a **manual** tansaction ? :
$mdb->autoCommit(FALSE);
(some code)
$mdb->commit();
Also, I don't well understand the meaning of "Therefore, a new transaction
is implicitly started after committing the pending changes" (excerpt from
commit()). I just want to run a transaction at some place in my code, I
don't want to run a new one just after $mdb->commit() !