~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/data_engine/variables.h

Updating style, simplified code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define PLUGIN_DATA_ENGINE_VARIABLES_H
23
23
 
24
24
 
25
 
class VariablesTool : public StatusTool
 
25
class VariablesTool : public StateTool
26
26
{
27
27
public:
28
28
  VariablesTool(bool global) :
29
 
    StatusTool(global ? "GLOBAL_VARIABLES" : "SESSION_VARIABLES", global)
 
29
    StateTool(global ? "GLOBAL_VARIABLES" : "SESSION_VARIABLES", global)
30
30
  { }
31
31
 
32
 
  bool isVariables()
 
32
  bool hasStatus()
33
33
  {
34
 
    return true;
 
34
    return false;
35
35
  }
36
36
 
37
37
  drizzle_show_var *getVariables()