~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/kill.cc

  • Committer: Brian Aker
  • Date: 2011-04-21 06:30:57 UTC
  • mfrom: (2282.1.5 cache)
  • Revision ID: brian@tangent.org-20110421063057-vfwan2bbz0reeraz
MergeĀ inĀ Olaf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
bool kill(const identifier::User& user, session_id_t id_to_kill, bool only_kill_query)
31
31
{
32
 
  drizzled::Session::shared_ptr session_param= session::Cache::singleton().find(id_to_kill);
 
32
  drizzled::Session::shared_ptr session_param= session::Cache::find(id_to_kill);
33
33
 
34
34
  if (session_param and session_param->isViewable(user))
35
35
  {