~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/errmsg_print.h

  • Committer: Olaf van der Spek
  • Date: 2011-04-05 12:26:58 UTC
  • mto: (2278.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2272.
  • Revision ID: olafvdspek@gmail.com-20110405122658-xxrvmobwwwwf3oct
Refactor Open_tables_state

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
 
26
26
 
27
 
#ifndef DRIZZLED_ERRMSG_PRINT_H
28
 
#define DRIZZLED_ERRMSG_PRINT_H
 
27
#pragma once
29
28
 
30
29
#include <drizzled/visibility.h>
31
30
#include <drizzled/error/level_t.h>
38
37
DRIZZLED_API bool errmsg_printf(error::level_t priority, char const *format, ...)
39
38
  __attribute__((format(printf, 2, 3)));
40
39
 
41
 
void sql_perror(const char *message);
42
 
void sql_perror(const std::string &message);
43
 
void sql_perror(std::string message, const std::string &extra);
 
40
DRIZZLED_API void sql_perror(const char *message);
 
41
DRIZZLED_API void sql_perror(const std::string &message);
 
42
DRIZZLED_API void sql_perror(std::string message, const std::string &extra);
44
43
 
45
44
} /* namespace drizzled */
46
45
 
47
 
#endif /* DRIZZLED_ERRMSG_PRINT_H */
48
46
 
49
47