mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
System Versioning pre1.0
Merge branch '10.3' into trunk
This commit is contained in:
@ -1733,6 +1733,9 @@ void add_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var)
|
||||
to_var->binlog_bytes_written+= from_var->binlog_bytes_written;
|
||||
to_var->cpu_time+= from_var->cpu_time;
|
||||
to_var->busy_time+= from_var->busy_time;
|
||||
to_var->table_open_cache_hits+= from_var->table_open_cache_hits;
|
||||
to_var->table_open_cache_misses+= from_var->table_open_cache_misses;
|
||||
to_var->table_open_cache_overflows+= from_var->table_open_cache_overflows;
|
||||
|
||||
/*
|
||||
Update global_memory_used. We have to do this with atomic_add as the
|
||||
@ -1784,6 +1787,12 @@ void add_diff_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var,
|
||||
dec_var->binlog_bytes_written;
|
||||
to_var->cpu_time+= from_var->cpu_time - dec_var->cpu_time;
|
||||
to_var->busy_time+= from_var->busy_time - dec_var->busy_time;
|
||||
to_var->table_open_cache_hits+= from_var->table_open_cache_hits -
|
||||
dec_var->table_open_cache_hits;
|
||||
to_var->table_open_cache_misses+= from_var->table_open_cache_misses -
|
||||
dec_var->table_open_cache_misses;
|
||||
to_var->table_open_cache_overflows+= from_var->table_open_cache_overflows -
|
||||
dec_var->table_open_cache_overflows;
|
||||
|
||||
/*
|
||||
We don't need to accumulate memory_used as these are not reset or used by
|
||||
|
Reference in New Issue
Block a user