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

Public Member Functions

 Rollback (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 rollback.h.

Constructor & Destructor Documentation

◆ Rollback()

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

Definition at line 32 of file rollback.cc.

Member Function Documentation

◆ execute()

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

Execute the statement.

Returns
true on failure; false on success

Implements drizzled::statement::Statement.

Definition at line 40 of file rollback.cc.

Member Data Documentation

◆ tx_chain

bool drizzled::statement::Rollback::tx_chain

Definition at line 36 of file rollback.h.

◆ tx_release

bool drizzled::statement::Rollback::tx_release

Definition at line 39 of file rollback.h.


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