Commit daca0c05 authored by Rucha Deodhar's avatar Rucha Deodhar

fix failing test on buildbot for MDEV-27087

parent 220c0fb4
...@@ -107,7 +107,7 @@ static void log_sql_errors(MYSQL_THD thd __attribute__((unused)), ...@@ -107,7 +107,7 @@ static void log_sql_errors(MYSQL_THD thd __attribute__((unused)),
{ {
if (event->database.str) if (event->database.str)
{ {
logger_printf(logfile, "%04d-%02d-%02d %2d:%02d:%02d %llu " logger_printf(logfile, "%04d-%02d-%02d %2d:%02d:%02d %lu "
"%s %`s ERROR %d: %s : %s \n", "%s %`s ERROR %d: %s : %s \n",
t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min, t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min,
t.tm_sec, event->general_thread_id, event->general_user, event->database.str, t.tm_sec, event->general_thread_id, event->general_user, event->database.str,
...@@ -115,7 +115,7 @@ static void log_sql_errors(MYSQL_THD thd __attribute__((unused)), ...@@ -115,7 +115,7 @@ static void log_sql_errors(MYSQL_THD thd __attribute__((unused)),
} }
else else
{ {
logger_printf(logfile, "%04d-%02d-%02d %2d:%02d:%02d %llu " logger_printf(logfile, "%04d-%02d-%02d %2d:%02d:%02d %lu "
"%s %s ERROR %d: %s : %s \n", "%s %s ERROR %d: %s : %s \n",
t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min, t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min,
t.tm_sec, event->general_thread_id, event->general_user, "NULL", t.tm_sec, event->general_thread_id, event->general_user, "NULL",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment