2
2
======================
4
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. ::
6
START TRANSACTION [WITH CONSISTENT SNAPSHOT]
11
If you are currently already in a transaction Drizzle will give a warning
12
stating that you are in a transaction in a similar way to PostgreSQL.
13
This is instead of implicitly committing the transaction in the way MySQL
4
START TRANSACTION [WITH CONSISTENT SNAPSHOT]
6
Will begin a transaction. SET AUTOMCOMMIT must be set to zero in order for
7
this to work. The transaction is then run until either the connection to the
8
database is dropped, or a rollback or a commit command is sent.