~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <pthread.h>
24
24
 
25
 
using namespace drizzled;
 
25
namespace drizzled
 
26
{
26
27
 
27
28
extern pthread_key_t THR_Session;
28
29
extern pthread_key_t THR_Mem_root;
37
38
{
38
39
  return *(static_cast<memory::Root **>(pthread_getspecific(THR_Mem_root)));
39
40
}
 
41
 
 
42
} /* namespace drizzled */