~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/data_engine/status.h

Merged up with brian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef PLUGIN_DATA_ENGINE_STATUS_H
22
22
#define PLUGIN_DATA_ENGINE_STATUS_H
23
23
 
24
 
 
25
 
class StateTool : public Tool
 
24
#include "config.h"
 
25
 
 
26
#include "drizzled/plugin/table_function.h"
 
27
#include "drizzled/field.h"
 
28
 
 
29
class StateTool : public drizzled::plugin::TableFunction
26
30
{
27
31
  sql_var_t option_type;
28
32
 
37
41
    return true;
38
42
  }
39
43
 
40
 
  class Generator : public Tool::Generator 
 
44
  class Generator : public drizzled::plugin::TableFunction::Generator 
41
45
  {
42
46
    sql_var_t option_type;
43
47
    bool has_status;
94
98
    return getCommandStatusVars();
95
99
  }
96
100
};
 
101
 
 
102
#include "plugin/data_engine/variables.h"
 
103
 
97
104
#endif // PLUGIN_DATA_ENGINE_STATUS_H