~ubuntu-branches/ubuntu/saucy/drizzle/saucy-proposed

« back to all changes in this revision

Viewing changes to drizzled/statement/commit.h

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2011-03-15 10:41:18 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110315104118-eaf0hvlytjdl4zrf
Tags: 2011.03.13-0ubuntu1
* New upstream release.
* Added slave plugin.
* Removed archive, blackhole and blitzdb plugins.
* Moved location of libdrizzle headers.
* Removed drizzleadmin manpage patch.
* Add drizzle_safe_write_string to symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_COMMIT_H
22
 
#define DRIZZLED_STATEMENT_COMMIT_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
38
37
    tx_chain(tx_chain_arg),
39
38
    tx_release(tx_release_arg)
40
39
  {
41
 
    getSession()->getLex()->sql_command= SQLCOM_COMMIT;
 
40
    set_command(SQLCOM_COMMIT);
42
41
  }
43
42
 
44
43
  bool execute();
54
53
 
55
54
} /* namespace drizzled */
56
55
 
57
 
#endif /* DRIZZLED_STATEMENT_COMMIT_H */