summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-05-12 14:19:30 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-05-12 17:05:57 -0400
commit014fe12c03a2fdcbd2eb6bab39118de1cee02693 (patch)
tree1fb753928a1cdd2c11451a06c5f657675074dc31
parent18fee8b8f8b7cdf3d58075c9734e9ace23e2dbec (diff)
downloadmariadb-git-mariadb-galera-5.5.43.tar.gz
Fix for debug build failuremariadb-galera-5.5.43
Do not use format function attribute for sql_print_xxx() family of functions as they use a MariaDB-specific extension of printf instead of one provided by the system.
-rw-r--r--sql/log.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sql/log.h b/sql/log.h
index ed33ace7405..4abefc55b90 100644
--- a/sql/log.h
+++ b/sql/log.h
@@ -881,11 +881,9 @@ uint purge_log_get_error_code(int res);
int vprint_msg_to_log(enum loglevel level, const char *format, va_list args);
void sql_print_error(const char *format, ...);
-void sql_print_warning(const char *format, ...) ATTRIBUTE_FORMAT(printf, 1, 2);
-void sql_print_information(const char *format, ...)
- ATTRIBUTE_FORMAT(printf, 1, 2);
-typedef void (*sql_print_message_func)(const char *format, ...)
- ATTRIBUTE_FORMAT_FPTR(printf, 1, 2);
+void sql_print_warning(const char *format, ...);
+void sql_print_information(const char *format, ...);
+typedef void (*sql_print_message_func)(const char *format, ...);
extern sql_print_message_func sql_print_message_handlers[];
int error_log_print(enum loglevel level, const char *format,