~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/start_transaction.rst

  • Committer: Monty Taylor
  • Date: 2010-12-24 07:15:43 UTC
  • mto: This revision was merged to the branch mainline in revision 2029.
  • Revision ID: mordred@inaugust.com-20101224071543-ab082y5circku6v5
Renamed things prefixed mysql_ or mysqld_

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
START TRANSACTION
2
2
======================
3
3
 
4
 
START TRANSACTION [WITH CONSISTENT SNAPSHOT]
 
4
How do you begin a transaction in Drizzle? First of all, SET AUTOMCOMMIT must be set to zero. A transaction can then run until either the connection to the database is dropped, or a rollback or a commit command is sent. ::
5
5
 
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.
 
6
        START TRANSACTION [WITH CONSISTENT SNAPSHOT]