~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.h

  • Committer: Tim Penhey
  • Date: 2010-01-20 02:39:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: tim.penhey@canonical.com-20100120023901-8teeunid6gwlthzx
Add in a rot 13 function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_CURRENT_SESSION_H
22
22
#define DRIZZLED_CURRENT_SESSION_H
23
23
 
24
 
namespace drizzled
25
 
{
26
 
 
27
24
class Session;
28
25
 
29
 
namespace memory { class Root; }
 
26
namespace drizzled { namespace memory { class Root; } }
30
27
 
31
28
Session *_current_session(void);
32
 
#define current_session ::drizzled::_current_session()
33
 
memory::Root *current_mem_root(void);
34
 
 
35
 
} /* namespace drizzled */
 
29
#define current_session _current_session()
 
30
drizzled::memory::Root *current_mem_root(void);
36
31
 
37
32
#endif /* DRIZZLED_CURRENT_SESSION_H */