mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
Fixed the Smooth Flushing report on 5.1, which was broken by the previous commit, and made it work on 5.5
This commit is contained in:
@@ -1783,8 +1783,15 @@ section_percona_server_features () {
|
||||
name_val "Response Time Hist." \
|
||||
"$(feat_on_renamed "$file" "enable_query_response_time_stats,query_response_time_stats")"
|
||||
|
||||
name_val "Smooth Flushing" \
|
||||
"$(feat_on_renamed "$file" "innodb_adaptive_checkpoint,innodb_adaptive_flushing_method")"
|
||||
local smooth_flushing="$(feat_on_renamed "$file" "innodb_adaptive_checkpoint,innodb_adaptive_flushing_method")"
|
||||
if [ "${smooth_flushing:-""}" != "Not Supported" ]; then
|
||||
if [ -n "$(get_var innodb_adaptive_checkpoint "$file")" ]; then
|
||||
smooth_flushing="$(feat_on "$file" "innodb_adaptive_checkpoint" ne none)"
|
||||
else
|
||||
smooth_flushing="$(feat_on "$file" "innodb_adaptive_flushing_method" ne native)"
|
||||
fi
|
||||
fi
|
||||
name_val "Smooth Flushing" "$smooth_flushing"
|
||||
|
||||
name_val "HandlerSocket NoSQL" \
|
||||
"$(feat_on "$file" handlersocket_port)"
|
||||
|
Reference in New Issue
Block a user