~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-21 14:55:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2346.
  • Revision ID: olafvdspek@gmail.com-20110621145536-hd50tbacow514s9s
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#define current_session ::drizzled::_current_session()
32
32
memory::Root *current_mem_root();
33
33
 
34
 
typedef boost::thread_specific_ptr<Session> MySessionVar;
35
 
typedef boost::thread_specific_ptr<memory::Root *> MyMemoryRootVar;
36
 
 
37
 
MySessionVar &currentSession();
38
 
MyMemoryRootVar &currentMemRoot();
 
34
void setCurrentSession(Session*);
 
35
void setCurrentMemRoot(memory::Root*);
39
36
 
40
37
} /* namespace drizzled */