~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/command/show_processlist.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-07 14:32:00 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090807143200-mc2h2kb088u9lvq5
Changed return type of the execute() function in Command classes to be bool
instead of int.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/command/show_processlist.h>
25
25
 
26
 
int drizzled::command::ShowProcesslist::execute()
 
26
bool drizzled::command::ShowProcesslist::execute()
27
27
{
28
28
  mysqld_list_processes(session, NULL, session->lex->verbose);
29
 
  return 0;
 
29
  return false;
30
30
}