~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/errmsg_stderr/errmsg_stderr.cc

  • Committer: Brian Aker
  • Date: 2009-12-05 01:48:28 UTC
  • mfrom: (1237.2.12 push)
  • Revision ID: brian@gaz-20091205014828-xd4e29ujttx2xe2j
MergeĀ forĀ staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
class Error_message_stderr : public drizzled::plugin::ErrorMessage
32
32
{
33
33
public:
34
 
  Error_message_stderr() : Error_message_handler("Error_message_stderr") {}
 
34
  Error_message_stderr()
 
35
   : drizzled::plugin::ErrorMessage("Error_message_stderr") {}
35
36
  virtual bool errmsg(Session *, int , const char *format, va_list ap)
36
37
  {
37
38
    char msgbuf[MAX_MSG_LEN];
70
71
  return 0;
71
72
}
72
73
 
73
 
drizzle_declare_plugin
 
74
DRIZZLE_DECLARE_PLUGIN
74
75
{
75
76
  "errmsg_stderr",
76
77
  "0.1",
83
84
  NULL, /* system variables */
84
85
  NULL
85
86
}
86
 
drizzle_declare_plugin_end;
 
87
DRIZZLE_DECLARE_PLUGIN_END;