~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2010-10-10 19:32:58 UTC
  • Revision ID: brian@tangent.org-20101010193258-uvwhrqqpbd2e065x
Added support for pre/post triggers (this removes the need for the current
logging system I believe).

Add test cases to existing triggers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
556
556
  getSessionList().push_back(this);
557
557
  LOCK_thread_count.unlock();
558
558
 
 
559
  if (unlikely(plugin::EventObserver::connectSession(*this)))
 
560
  {
 
561
    // We should do something about an error...
 
562
  }
 
563
 
559
564
  if (scheduler->addSession(this))
560
565
  {
561
566
    DRIZZLE_CONNECTION_START(thread_id);