bug #13717 embedded library dumps warnings on STDERR directly

Here i just disabled STDERR warnings in embedded server
Later we should get more defined about logs in the embedded server
This commit is contained in:
holyfoot/hf@mysql.com/deer.(none) 2006-08-01 15:18:21 +05:00
parent d9f5416be5
commit 21f721c6f5

View file

@ -2321,6 +2321,12 @@ void print_buffer_to_nt_eventlog(enum loglevel level, char *buff,
void
*/
#ifdef EMBEDDED_LIBRARY
void vprint_msg_to_log(enum loglevel level __attribute__((unused)),
const char *format __attribute__((unused)),
va_list argsi __attribute__((unused)))
{}
#else /*!EMBEDDED_LIBRARY*/
void vprint_msg_to_log(enum loglevel level, const char *format, va_list args)
{
char buff[1024];
@ -2336,6 +2342,7 @@ void vprint_msg_to_log(enum loglevel level, const char *format, va_list args)
DBUG_VOID_RETURN;
}
#endif /*EMBEDDED_LIBRARY*/
void sql_print_error(const char *format, ...)