~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-09-21 23:40:18 UTC
  • mfrom: (1039.5.63 replication)
  • Revision ID: brian@gaz-20090921234018-gd9kqdyigwxtik9z
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
1733
1733
}
1734
1734
 
1735
1735
/**
1736
 
  Return the thread id of a user thread
1737
 
  @param session user thread
1738
 
  @return thread id
 
1736
  Return the session id of a user session
 
1737
  @param pointer to Session object
 
1738
  @return session's id
1739
1739
*/
1740
1740
extern "C" unsigned long session_get_thread_id(const Session *session)
1741
1741
{
1742
 
  return((unsigned long)session->thread_id);
 
1742
  return (unsigned long) session->getSessionId();
1743
1743
}
1744
1744
 
1745
1745