Re: [PHP4BETA] New transaction support for MySQL?

[email protected] ("Manuel Lemos") 12 Jun 2000 21:35:6 -0200
Newsgroups php.version4
Message-ID <[email protected]>
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/[email protected]
--
E-mail: [email protected]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--