summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-05-12 11:09:27 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-05-12 11:09:27 +0530
commit9495e018fbd88d094a71cb054cf468c31ebd6957 (patch)
tree3078e4e6291372f0f05e2d2ce40fe0c785857ab3 /mysql-test/mysql-test-run.pl
parent6b97fe067db1b1d8e8dee56508e6d78a36e92481 (diff)
downloadmariadb-git-9495e018fbd88d094a71cb054cf468c31ebd6957.tar.gz
MDEV-11718 Post-fixbb-mdev-11718
A better way of finding mysqld
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 0d9626b77e1..1e27f31989f 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -6190,7 +6190,8 @@ sub valgrind_arguments {
mtr_add_arg($args, "--num-callers=16");
mtr_add_arg($args, "--suppressions=%s/valgrind.supp", $glob_mysql_test_dir)
if -f "$glob_mysql_test_dir/valgrind.supp";
- my $temp= `ldd $ENV{MTR_BINDIR}/sql/mysqld | grep 'libjemalloc'`;
+ my $exe_mysqld= find_mysqld($bindir) || "";
+ my $temp= `ldd $exe_mysqld | grep 'libjemalloc'`;
if ($temp)
{
mtr_add_arg($args, "--soname-synonyms=somalloc=libjemalloc*");