mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
[t:3988] bug fixes for the showval macro
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@36875 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
00b69d021e
commit
0d66e22e2c
1 changed files with 3 additions and 3 deletions
|
@ -1113,8 +1113,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
|
|||
ENGINE_STATUS engstat;
|
||||
|
||||
#define showval(v) \
|
||||
snprintf(buf, bufsiz, "%" PRIu64, engstat.%%v); \
|
||||
STATPRINT(%%v, buf);
|
||||
snprintf(buf, bufsiz, "%" PRIu64, engstat.v); \
|
||||
STATPRINT(#v, buf);
|
||||
|
||||
error = db_env->get_engine_status(db_env, &engstat, buf, bufsiz);
|
||||
if (strlen(buf)) {
|
||||
|
@ -1247,7 +1247,7 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
|
|||
|
||||
showval(cleaner_total_nodes);
|
||||
showval(cleaner_h1_nodes);
|
||||
showval(cleaner_hgt1_nodes
|
||||
showval(cleaner_hgt1_nodes);
|
||||
showval(cleaner_empty_nodes);
|
||||
showval(cleaner_nodes_dirtied);
|
||||
showval(cleaner_max_buffer_size);
|
||||
|
|
Loading…
Add table
Reference in a new issue