~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/flush.h

  • Committer: Brian Aker
  • Date: 2010-02-14 01:56:51 UTC
  • mto: (1273.16.5 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: brian@gaz-20100214015651-ror9j0xu7dccz0ct
Two fixes for "make dist"

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
public:
36
36
  Flush(Session *in_session)
37
37
    :
38
 
    Statement(in_session),
39
 
    flush_log(false),
40
 
    flush_tables(false),
41
 
    flush_tables_with_read_lock(false),
42
 
    flush_status(false)
 
38
      Statement(in_session)
43
39
  {}
44
40
 
45
41
  bool execute();
46
42
 
47
43
private:
48
 
  bool flush_log;
49
 
  bool flush_tables;
50
 
  bool flush_tables_with_read_lock;
51
 
  bool flush_status;
52
 
 
53
 
public:
54
 
  void setFlushLog(bool f) { flush_log= f; }
55
 
  void setFlushTables(bool f) { flush_tables= f; }
56
 
  void setFlushTablesWithReadLock(bool f) {
57
 
    flush_tables= flush_tables_with_read_lock= f;
58
 
  }
59
 
  void setFlushStatus(bool f) { flush_status= f; }
60
 
 
61
 
private:
62
44
 
63
45
  /**
64
46
   * Reload/resets privileges and the different caches.