~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/rollback.rst

  • Committer: Brian Aker
  • Date: 2010-11-26 22:40:33 UTC
  • mto: This revision was merged to the branch mainline in revision 1958.
  • Revision ID: brian@tangent.org-20101126224033-yt9a3o82w2rhaihp
Adding select for update test with flush locks engaged.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
ROLLBACK
2
2
========
3
3
 
4
 
The ROLLBACK command rolls back the current transaction and causes all updates made by the transaction to be discarded. ::
5
 
 
6
 
        ROLLBACK [WORK] TO [SAVEPOINT] identifier
7
 
 
8
 
Calling ROLLBACK causes the updates that were started to be discarded if no identifier is specified; otherwise, it rolls back to the identifier.
 
4
ROLLBACK [WORK] TO [SAVEPOINT] identifier
 
5
 
 
6
Calling ROLLBACK causes the current transaction to undo the transaction that
 
7
has begun if no identifier is specified, otherwise it rolls back to the
 
8
identifier.
9
9