~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/kill.cc

  • Committer: Brian Aker
  • Date: 2011-01-17 04:15:23 UTC
  • mto: (2088.1.3 merge)
  • mto: This revision was merged to the branch mainline in revision 2089.
  • Revision ID: brian@gir-3-20110117041523-o9ex94kfz1a6iqyw
Modify TableIdentifier to fit with the rest of the identifiers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    return 0;
49
49
  }
50
50
 
51
 
  if (not die_session->isViewable())
 
51
  if (not die_session->isViewable(*getSession().user()))
52
52
  {
53
53
    my_error(drizzled::ER_KILL_DENIED_ERROR, session_id_for_kill, MYF(0));
54
54
    return 0;