Re: [PHPLIB] Atomicity From: Kristian Koehntopp (kris <email protected>)
Date: 02/28/00

On Mon, Feb 28, 2000 at 12:30:07PM -0500, Shandy Brown wrote:
> Does anyone know a good way to do an atomic transaction with PHP/MySQL?

There are no ACID transactions in MySQL, because there is no rollback.

For A (atomicity), check the LOCK TABLE and UNLOCK TABLES
statements in your MySQL handbook and have a look at the
nextid() function in DB_Sql.

Kristian

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.