~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/unlock_tables.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-23 10:31:37 UTC
  • mto: (2247.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2248.
  • Revision ID: olafvdspek@gmail.com-20110323103137-lwevis2tfchgu18u
Propogate return void

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_UNLOCK_TABLES_H
22
 
#define DRIZZLED_STATEMENT_UNLOCK_TABLES_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
35
34
class UnlockTables : public Statement
36
35
{
37
36
public:
38
 
  UnlockTables(Session *in_session)
39
 
    :
40
 
      Statement(in_session)
41
 
  {}
 
37
  UnlockTables(Session *in_session) :
 
38
    Statement(in_session)
 
39
  {
 
40
    set_command(SQLCOM_UNLOCK_TABLES);
 
41
  }
42
42
 
43
43
  bool execute();
 
44
  bool isTransactional()
 
45
  {
 
46
    return true;
 
47
  }
44
48
};
45
49
 
46
50
} /* namespace statement */
47
51
 
48
52
} /* namespace drizzled */
49
53
 
50
 
#endif /* DRIZZLED_STATEMENT_UNLOCK_TABLES_H */