Merge pull request #338 from percona/PT-1554-ps-5.7

PT-1554 Fixed tests for Percona Server 5.7
This commit is contained in:
Carlos Salguero
2018-05-28 12:48:31 -03:00
committed by GitHub
16 changed files with 18 additions and 16 deletions

View File

@@ -2265,7 +2265,7 @@ report_jemalloc_enabled() {
local GENERAL_JEMALLOC_STATUS=0
local JEMALLOC_LOCATION=''
for PID in $(pidof mysqld); do
for pid in $(pidof mysqld); do
grep -qc jemalloc /proc/${pid}/environ || ldd $(which mysqld) 2>/dev/null | grep -qc jemalloc
jemalloc_status=$?
if [ $jemalloc_status = 1 ]; then