~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/savepoints.rst

  • Committer: Brian Aker
  • Date: 2011-02-11 09:39:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2160.
  • Revision ID: brian@tangent.org-20110211093917-qfdydch1fzskruf8
Fix for union.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
This sets a savepoint that can be returned to in the current transaction. The "identifier" is the name given to the new savepoint. If the identifier has already been used then the original identifier is replaced. Example:
9
9
 
10
 
.. code-block:: mysql
11
 
 
12
10
     SAVEPOINT A;
13
11
     INSERT INTO t1 values (1);
14
12
     SAVEPOINT A;