This function computes binlog cache and disk usage. */
| 550 | This function computes binlog cache and disk usage. |
| 551 | */ |
| 552 | void compute_statistics() |
| 553 | { |
| 554 | if (!is_binlog_empty()) |
| 555 | { |
| 556 | statistic_increment(*ptr_binlog_cache_use, &LOCK_status); |
| 557 | if (cache_log.disk_writes != 0) |
| 558 | statistic_increment(*ptr_binlog_cache_disk_use, &LOCK_status); |
| 559 | } |
| 560 | } |
| 561 | |
| 562 | /* |
| 563 | Stores the values of maximum size of the cache allowed when this cache |
nothing calls this directly
no outgoing calls
no test coverage detected