1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Less noise in the error log

- Updated error messages for recovery
- Changed printing of debug sync point information to make it fit 80 char
This commit is contained in:
Monty
2021-03-15 15:45:47 +02:00
committed by Sergei Golubchik
parent 249263525f
commit d754d3d951
4 changed files with 18 additions and 19 deletions

View File

@@ -516,8 +516,10 @@ Event_queue::empty_queue()
uint i;
DBUG_ENTER("Event_queue::empty_queue");
DBUG_PRINT("enter", ("Purging the queue. %u element(s)", queue.elements));
sql_print_information("Event Scheduler: Purging the queue. %u events",
queue.elements);
if (queue.elements)
sql_print_information("Event Scheduler: Purging the queue. %u events",
queue.elements);
/* empty the queue */
for (i= queue_first_element(&queue);
i <= queue_last_element(&queue);