summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-03-15 15:45:47 +0200
committerSergei Golubchik <serg@mariadb.org>2021-05-19 22:54:12 +0200
commitd754d3d95188856f5fd1e910a1185d08de1b3783 (patch)
treee5cb6c536da43cb9d2f1c6bb0dd78bc88b933bcf /sql/debug_sync.cc
parent249263525f65d34dc1e2a19d6135043fd17aaac9 (diff)
downloadmariadb-git-d754d3d95188856f5fd1e910a1185d08de1b3783.tar.gz
Less noise in the error log
- Updated error messages for recovery - Changed printing of debug sync point information to make it fit 80 char
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r--sql/debug_sync.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc
index dde3ce5a35b..1fbb15592a4 100644
--- a/sql/debug_sync.cc
+++ b/sql/debug_sync.cc
@@ -201,13 +201,12 @@ void debug_sync_end(void)
/* Print statistics. */
{
- char llbuff[22];
- sql_print_information("Debug sync points hit: %22s",
- llstr(debug_sync_global.dsp_hits, llbuff));
- sql_print_information("Debug sync points executed: %22s",
- llstr(debug_sync_global.dsp_executed, llbuff));
- sql_print_information("Debug sync points max active per thread: %22s",
- llstr(debug_sync_global.dsp_max_active, llbuff));
+ sql_print_information("Debug sync points hit: %lld",
+ debug_sync_global.dsp_hits);
+ sql_print_information("Debug sync points executed: %lld",
+ debug_sync_global.dsp_executed);
+ sql_print_information("Debug sync points max active per thread: %lld",
+ debug_sync_global.dsp_max_active);
}
}