"Fossies" - the Fresh Open Source Software Archive

Member "drizzle-7.1.36-stable/docs/start_transaction.rst" (6 May 2012, 694 Bytes) of package /linux/misc/old/drizzle-7.1.36-stable.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

START TRANSACTION

A transaction can be started with either the BEGIN or START TRANSACTION statements. It can also be started by any statement when AUTOCOMMIT is disabled. A transaction can then run until either the connection to the database is dropped (in which case it is rolled back), or an explicit rollback or a commit command is sent.

START TRANSACTION [WITH CONSISTENT SNAPSHOT]
BEGIN

Warning

If you are currently already in a transaction, Drizzle will give a warning stating that you are in a transaction in a similar way to PostgreSQL. This is instead of implicitly committing the transaction in the way MySQL does.