mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
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:
parent
d9f5416be5
commit
21f721c6f5
1 changed files with 7 additions and 0 deletions
|
@ -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, ...)
|
||||
|
|
Loading…
Add table
Reference in a new issue