RE: [PEAR] MDB transactions
| From: | Lukas Smith | Date: | Mon, 12 May 2003 13:53:48 +0000 |
| Subject: | RE: [PEAR] MDB transactions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5326@lists.php.net to get a copy of this message | ||
> From: Jeroen Houben [mailto:jeroen@terena.nl]
> Sent: Monday, May 12, 2003 3:09 PM
> I have a problem using transaction with the latest version of MDB and
> postgresql 7.2
> $db->autoCommit(false);
> var_dump($db->auto_commit); // this prints bool(false)
>
> // some queries ...
> $db->commit();
>
> That fails giving me this message
>
>
> MDB Error: unknown error
>
> Commit: transaction changes are being auto commited
please also check $err_obj->getUserInfo();
this might contain some more information.
Could this problem also be related to this bug report:
http://bugs.php.net/bug.php?id=22761
Regards,
Lukas