drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::statement::Commit Class Reference
Inheritance diagram for drizzled::statement::Commit:
[legend]
Collaboration diagram for drizzled::statement::Commit:
[legend]

Public Member Functions

 Commit (Session *in_session, bool tx_chain_arg, bool tx_release_arg)
bool execute ()
Public Member Functions inherited from drizzled::statement::Statement
 Statement (Session *in_session)
void set_command (enum_sql_command)
LEX & lex ()
session::Transactions & transaction ()
virtual bool isTransactional ()
Session & session () const
virtual bool isShow ()

Public Attributes

bool tx_chain
bool tx_release

Detailed Description

Definition at line 28 of file commit.h.

Constructor & Destructor Documentation

◆ Commit()

drizzled::statement::Commit::Commit ( Session * in_session,
bool tx_chain_arg,
bool tx_release_arg )
inline

Definition at line 31 of file commit.h.

Member Function Documentation

◆ execute()

bool drizzled::statement::Commit::execute ( )
virtual

Execute the statement.

Returns
true on failure; false on success

Implements drizzled::statement::Statement.

Definition at line 29 of file commit.cc.

Member Data Documentation

◆ tx_chain

bool drizzled::statement::Commit::tx_chain

Definition at line 42 of file commit.h.

◆ tx_release

bool drizzled::statement::Commit::tx_release

Definition at line 45 of file commit.h.


The documentation for this class was generated from the following files: