~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/commit.rst

  • Committer: Lee Bieber
  • Date: 2011-02-24 03:20:47 UTC
  • mfrom: (2196.1.4 build)
  • Revision ID: kalebral@gmail.com-20110224032047-avmw06iwww3m73cw
Merge Andrew - 723653: Docs day first pass fixes 
Merge Brian - Puts back in support for COM_KILL, Also adds back in the INTERACTIVE flag, and creates a DD to track sessions/check on usage
Merge Olaf - Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
For example, DML statements do not implicitly commit the current transaction. If a user's DML statements have been used to update some data objects, and the updates need to be permanently recorded in the database, you can use the COMMIT command.
11
11
 
12
 
An example: ::
 
12
An example:
 
13
 
 
14
.. code-block:: mysql
13
15
 
14
16
        START TRANSACTION;
15
17
 
29
31
| 10  | twitter.com   | NULL  | 2011-02-03 08:39:16 |
30
32
+-----+---------------+-------+---------------------+
31
33
 
32
 
Then to save the information just inserted, simply issue the COMMIT command: ::
 
34
Then to save the information just inserted, simply issue the COMMIT command:
 
35
 
 
36
.. code-block:: mysql
33
37
 
34
38
        COMMIT;