Loading sql/log.cc +7 −0 Original line number Diff line number Diff line Loading @@ -3963,6 +3963,12 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, return an error (e.g. logging to the log tables) */ #ifdef EMBEDDED_LIBRARY int vprint_msg_to_log(enum loglevel level __attribute__((unused)), const char *format __attribute__((unused)), va_list argsi __attribute__((unused))) {} #else /*!EMBEDDED_LIBRARY*/ int vprint_msg_to_log(enum loglevel level, const char *format, va_list args) { char buff[1024]; Loading @@ -3979,6 +3985,7 @@ int vprint_msg_to_log(enum loglevel level, const char *format, va_list args) DBUG_RETURN(0); } #endif /*EMBEDDED_LIBRARY*/ void sql_print_error(const char *format, ...) Loading Loading
sql/log.cc +7 −0 Original line number Diff line number Diff line Loading @@ -3963,6 +3963,12 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff, return an error (e.g. logging to the log tables) */ #ifdef EMBEDDED_LIBRARY int vprint_msg_to_log(enum loglevel level __attribute__((unused)), const char *format __attribute__((unused)), va_list argsi __attribute__((unused))) {} #else /*!EMBEDDED_LIBRARY*/ int vprint_msg_to_log(enum loglevel level, const char *format, va_list args) { char buff[1024]; Loading @@ -3979,6 +3985,7 @@ int vprint_msg_to_log(enum loglevel level, const char *format, va_list args) DBUG_RETURN(0); } #endif /*EMBEDDED_LIBRARY*/ void sql_print_error(const char *format, ...) Loading