~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session/cache.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-20 09:27:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2285.
  • Revision ID: olafvdspek@gmail.com-20110420092749-hw1q9rfj1pumc2no
Session Cache

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
public:
34
34
  typedef std::list<session_shared_ptr> list;
35
35
 
36
 
  static inline Cache &singleton()
37
 
  {
38
 
    static Cache open_cache;
39
 
 
40
 
    return open_cache;
41
 
  }
42
 
 
43
36
  static list &getCache()
44
37
  {
45
38
    return cache;