~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/cache.h

  • Committer: Andrew Hutchings
  • Date: 2010-11-09 13:38:01 UTC
  • mto: (1919.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1920.
  • Revision ID: andrew@linuxjedi.co.uk-20101109133801-byjzsao76346395x
Add FLUSH GLOBAL STATUS; command
Clears the global status variables for the server

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    return cache;
50
50
  }
51
51
 
52
 
  void rehash(size_t arg)
53
 
  {
54
 
    cache.rehash(arg);
55
 
  }
56
 
 
57
52
  bool areTablesUsed(Table *table, bool wait_for_name_lock);
58
53
  void removeSchema(const SchemaIdentifier &schema_identifier);
59
54
  bool removeTable(Session *session, TableIdentifier &identifier, uint32_t flags);
60
55
  void release(TableShare *share);
61
 
  bool insert(table::Concurrent *arg);
62
 
 
63
 
  boost::mutex &mutex()
64
 
  {
65
 
    return _mutex;
66
 
  }
67
 
 
68
 
private:
69
 
  boost::mutex _mutex;
70
56
};
71
57
 
72
58
CacheMap &getCache(void);