Date: 02/28/00
- Next message: Matthias Weh: "[PHPLIB] session sample hangs"
- Previous message: Alexander Aulbach: "Re: [PHPLIB] Extending user_auth table or creating a new table"
- In reply to: Shandy Brown: "[PHPLIB] Atomicity"
- Next in thread: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Reply: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Reply: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Matthias Weh: "[PHPLIB] session sample hangs"
- Previous message: Alexander Aulbach: "Re: [PHPLIB] Extending user_auth table or creating a new table"
- In reply to: Shandy Brown: "[PHPLIB] Atomicity"
- Next in thread: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Reply: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Reply: Arno A. Karner: "Re: [PHPLIB] Atomicity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

