~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 20:00:45 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108200045-wgysfvli5mtduszd
EnapsulateĀ Kill.

Show diffs side-by-side

added added

removed removed

Lines of Context:
447
447
    for( SessionList::iterator it= getSessionList().begin(); it != getSessionList().end(); ++it )
448
448
    {
449
449
      tmp= *it;
450
 
      tmp->killed= Session::KILL_CONNECTION;
 
450
      tmp->setKilled(Session::KILL_CONNECTION);
451
451
      tmp->scheduler->killSession(tmp);
452
452
      DRIZZLE_CONNECTION_DONE(tmp->thread_id);
453
453
      tmp->lockOnSys();
544
544
    }
545
545
    return NULL;
546
546
  }
547
 
  if (!user)
 
547
  if (not user)
548
548
  {
549
549
      errmsg_printf(ERRMSG_LVL_ERROR, _("Fatal error: Please read \"Security\" section of "
550
550
                      "the manual to find out how to run drizzled as root!\n"));