~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/kill.cc

  • Committer: Andrew Hutchings
  • Date: 2010-12-15 18:59:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2006.
  • Revision ID: andrew@linuxjedi.co.uk-20101215185955-q12lkja8hdnpjqg7
Make the test look for drizzleadmin failure instead of success as this test is not possible to fix for success on our FreeBSD 8.0 box

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(*getSession().user()))
 
51
  if (not die_session->isViewable())
52
52
  {
53
53
    my_error(drizzled::ER_KILL_DENIED_ERROR, session_id_for_kill, MYF(0));
54
54
    return 0;