Commit 3b102cf2 authored by marko's avatar marko

branches/zip: i_s_cmpmem_fill_low(): Do not reset all buddy allocator

statistics, but only the cumulated count and duration of relocation
operations.
parent d7585cea
......@@ -1344,7 +1344,9 @@ i_s_cmpmem_fill_low(
(ulong) (buddy_stat->relocated_usec / 1000000));
if (reset) {
memset(buddy_stat, 0, sizeof *buddy_stat);
/* This is protected by buf_pool_mutex. */
buddy_stat->relocated = 0;
buddy_stat->relocated_usec = 0;
}
if (schema_table_store_record(thd, table)) {
......
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