~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/flush.h

  • Committer: Brian Aker
  • Date: 2011-02-12 06:56:00 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212065600-m6c68fybw51rflhj
Further strip out includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class Flush : public Statement
34
34
{
35
35
public:
36
 
  Flush(Session *in_session)
37
 
    :
 
36
  Flush(Session *in_session) :
38
37
    Statement(in_session),
39
38
    flush_log(false),
40
39
    flush_tables(false),
41
40
    flush_tables_with_read_lock(false),
42
41
    flush_status(false),
43
42
    flush_global_status(false)
44
 
  {}
 
43
  {
 
44
    getSession()->getLex()->sql_command= SQLCOM_FLUSH;
 
45
    getSession()->getLex()->type= 0;
 
46
  }
45
47
 
46
48
  bool execute();
47
49