~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 00:53:34 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913005334-6wio2sbjugskfbm3
Added calls to the connection start/end dtrace probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
481
481
  if (state_to_set != Session::KILL_QUERY)
482
482
  {
483
483
    scheduler->killSession(this);
 
484
    DRIZZLE_CONNECTION_DONE(session->thread_id);
484
485
  }
485
486
  if (mysys_var)
486
487
  {
620
621
 
621
622
  if (scheduler->addSession(this))
622
623
  {
 
624
    DRIZZLE_CONNECTION_START(session->thread_id);
623
625
    char error_message_buff[DRIZZLE_ERRMSG_SIZE];
624
626
 
625
627
    killed= Session::KILL_CONNECTION;