~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Brian Aker
  • Date: 2010-09-12 01:42:27 UTC
  • mto: (1759.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1762.
  • Revision ID: brian@tangent.org-20100912014227-krt6d9z5ohqrokhb
Add two plugins to handle the string and math functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#define ERRMSG_LVL_WARN 3
34
34
#define ERRMSG_LVL_ERROR 4
35
35
 
36
 
bool errmsg_printf(int priority, char const *format, ...)
37
 
  __attribute__((format(printf, 2, 3)));
 
36
// todo: add __attribute__((format(printf, 1, 2)))
 
37
bool errmsg_printf (int priority, char const *format, ...);
38
38
 
39
 
void sql_perror(const char *message);
 
39
void sql_perror (const char *message);
40
40
 
41
41
} /* namespace drizzled */
42
42