~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/start_transaction.rst

  • Committer: Brian Aker
  • Date: 2010-12-20 05:46:52 UTC
  • mfrom: (1994.4.3 drizzle)
  • Revision ID: brian@tangent.org-20101220054652-gptboup9zs5ec13b
Merge in doc updates.

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]