~linuxjedi/drizzle/drizzle-bug-621603

« back to all changes in this revision

Viewing changes to plugin/logging_stats/stats_schema.h

  • Committer: Monty Taylor
  • Date: 2010-08-21 08:44:38 UTC
  • mfrom: (1725.1.5 build)
  • Revision ID: mordred@inaugust.com-20100821084438-xco4t67quey63o0i
Visibility, suppressions and bugfixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
  LoggingStats *outer_logging_stats;
180
180
};
181
181
 
 
182
class ScoreboardStatsTool : public drizzled::plugin::TableFunction
 
183
{
 
184
public:
 
185
 
 
186
  ScoreboardStatsTool(LoggingStats *logging_stats);
 
187
 
 
188
  class Generator : public drizzled::plugin::TableFunction::Generator
 
189
  {
 
190
  public:
 
191
    Generator(drizzled::Field **arg, LoggingStats *logging_stats);
 
192
 
 
193
    bool populate();
 
194
  private:
 
195
    LoggingStats *inner_logging_stats;
 
196
    bool is_last_record;
 
197
  };
 
198
 
 
199
  Generator *generator(drizzled::Field **arg)
 
200
  {
 
201
    return new Generator(arg, outer_logging_stats);
 
202
  }
 
203
private:
 
204
  LoggingStats *outer_logging_stats;
 
205
};
 
206
 
182
207
#endif /* PLUGIN_LOGGING_STATS_STATS_SCHEMA_H */