~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/start_transaction.rst

  • Committer: patrick crews
  • Date: 2010-09-29 15:15:19 UTC
  • mfrom: (1099.4.188 drizzle)
  • Revision ID: gleebix@gmail.com-20100929151519-6mrmzd1ciw2p9nws
Tags: 2010.09.1802
Update translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
START TRANSACTION
2
 
======================
3
 
 
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. ::
5
 
 
6
 
        START TRANSACTION [WITH CONSISTENT SNAPSHOT]
7
 
        BEGIN
8
 
 
9
 
When https://bugs.launchpad.net/drizzle/+bug/674719 is fixed, Drizzle will have the PostgreSQL like behaviour of giving an error if a transaction is already in progress.