~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pool_of_threads/session_scheduler.cc

  • Committer: Jay Pipes
  • Date: 2009-03-16 02:52:26 UTC
  • mto: This revision was merged to the branch mainline in revision 941.
  • Revision ID: jpipes@serialcoder-20090316025226-bs0fprh0cxony7z9
This changeset removes a few more  C functions from sql_connect.cc/connect.h
and houses them as member methods of the session object.  Added documentation
where I could and cleaned up the code style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
{
52
52
  assert(!thread_attached);
53
53
  if (libevent_should_close_connection(session) ||
54
 
      setup_connection_thread_globals(session))
 
54
      ! session->initGlobals())
55
55
  {
56
56
    return true;
57
57
  }