~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/current_session.cc

  • Committer: Monty Taylor
  • Date: 2009-12-25 09:11:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1255.
  • Revision ID: mordred@inaugust.com-20091225091155-4edipjfiffzu37oy
Moved sql_alloc into memory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
extern pthread_key_t THR_Session;
28
28
extern pthread_key_t THR_Mem_root;
29
29
 
30
 
Session *current_session(void)
 
30
Session *_current_session(void)
31
31
{
32
32
  return static_cast<Session *>(pthread_getspecific(THR_Session));
33
33
}