~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2009-03-17 06:05:42 UTC
  • mfrom: (934.2.17 small-cleanups)
  • Revision ID: brian@tangent.org-20090317060542-a7ggj7l686cvxw31
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
549
549
                          tmp->thread_id,
550
550
                          (tmp->security_ctx.user.c_str() ?
551
551
                           tmp->security_ctx.user.c_str() : ""));
552
 
      tmp->close_connection(0,0);
 
552
      tmp->disconnect(0, false);
553
553
    }
554
554
    (void) pthread_mutex_unlock(&LOCK_thread_count);
555
555
  }
1901
1901
    net_send_error(session, ER_CANT_CREATE_THREAD, error_message_buff);
1902
1902
    (void) pthread_mutex_lock(&LOCK_thread_count);
1903
1903
    --connection_count;
1904
 
    session->close_connection(0, 0);
 
1904
    session->disconnect(0, false);
1905
1905
    delete session;
1906
1906
    (void) pthread_mutex_unlock(&LOCK_thread_count);
1907
1907
  }