Re: [PHP4BETA] New transaction support for MySQL?
| From: | Manuel Lemos | Date: | Mon, 12 Jun 2000 23:35:06 +0000 |
| Subject: | Re: [PHP4BETA] New transaction support for MySQL? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-16267@lists.php.net to get a copy of this message | ||
Precedence: bulk
Hello Michael,
On 09-Jun-00 10:26:46, you wrote:
>i just stumbeled over an announcement about new transaction capabilities with
>Berkeley DB tables for MySQL. Is anybody going to implement that for PHP in
>the near future?
There's nothing to implement in PHP to make it support MySQL transactions. You
only need to use the SQL query types, SET AUTOCOMMIT or BEING, COMMIT and
ROLLBACK.
Keep in mind that you may have PHP linked with MySQL libraries rather than
the libraries built-in PHP source code.
Anyway, I have just updated PHP Metabase MySQL driver and it seems ROLLBACK is
not working to revert insert columns even in a table with a PRIMARY KEY
field and with AUTO_INCREMENT.
The new PHP Metabase MySQL driver is available here for anybody to try:
http://phpclasses.UpperDesign.com/browse.html/package/20
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--