diff --git a/lib/bash/collect.sh b/lib/bash/collect.sh index 8d8e33aa..9e0b3f4b 100644 --- a/lib/bash/collect.sh +++ b/lib/bash/collect.sh @@ -246,7 +246,7 @@ collect() { (echo $ts; transactions) >>"$d/$p-transactions" & fi - if [ [ "${mysql_version}" '>' "5.6" ] && [ $ps_instrumentation_enabled == "yes"] ]; then + if [ "${mysql_version}" '>' "5.6" ] && [ $ps_instrumentation_enabled == "yes"]; then ps_locks_transactions "$d/$p-ps-locks-transactions" fi diff --git a/sandbox/servers/5.7/my.sandbox.cnf b/sandbox/servers/5.7/my.sandbox.cnf index c5d9452e..3373c024 100644 --- a/sandbox/servers/5.7/my.sandbox.cnf +++ b/sandbox/servers/5.7/my.sandbox.cnf @@ -31,5 +31,5 @@ lower_case_table_names = 0 # fkc test binlog_format = STATEMENT performance_schema = ON -performance-schema-instrument='wait/lock/metadata/sql/mdl=ON' -performance-schema-instrument='transaction=ON' +#performance-schema-instrument='wait/lock/metadata/sql/mdl=ON' +#performance-schema-instrument='transaction=ON'