~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/main.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-21 14:55:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2346.
  • Revision ID: olafvdspek@gmail.com-20110621145536-hd50tbacow514s9s
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
376
376
  /* Send server startup event */
377
377
  {
378
378
    Session::shared_ptr session= Session::make_shared(plugin::Listen::getNullClient(), catalog::local());
379
 
    currentSession().reset(session.get());
 
379
    setCurrentSession(session.get());
380
380
    transaction_services.sendStartupEvent(*session);
381
381
    plugin_startup_window(modules, *session.get());
382
382
  }
401
401
  /* Send server shutdown event */
402
402
  {
403
403
    Session::shared_ptr session= Session::make_shared(plugin::Listen::getNullClient(), catalog::local());
404
 
    currentSession().reset(session.get());
 
404
    setCurrentSession(session.get());
405
405
    transaction_services.sendShutdownEvent(*session.get());
406
406
  }
407
407