~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/logging.h

Fixed the clock_gettime test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include <string>
28
28
 
 
29
class Session;
 
30
 
29
31
namespace drizzled
30
32
{
31
 
class Session;
32
 
 
33
33
namespace plugin
34
34
{
35
35
 
50
50
   */
51
51
  virtual bool pre(Session *) {return false;}
52
52
  virtual bool post(Session *) {return false;}
53
 
  virtual bool postEnd(Session*) {return false;}
54
 
  virtual bool resetGlobalScoreboard() {return false;}
55
53
 
56
54
  static bool addPlugin(Logging *handler);
57
55
  static void removePlugin(Logging *handler);
58
56
  static bool preDo(Session *session);
59
57
  static bool postDo(Session *session);
60
 
  static bool postEndDo(Session *session);
61
 
  static bool resetStats(Session *session);
62
58
};
63
59
 
64
60
} /* namespace plugin */