summaryrefslogtreecommitdiff
path: root/mysql-test/lib/My
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-21 15:08:33 +0100
committerSergei Golubchik <serg@mariadb.org>2018-01-22 11:39:54 +0100
commitd9c460b84e6dd603d0101369ee3d6f935213827c (patch)
tree9b9bc18d1930d3c05b90c2c93a4277d530240bb5 /mysql-test/lib/My
parentf2408e7e6a39a8544b34e2407a02a084e38e49ba (diff)
downloadmariadb-git-d9c460b84e6dd603d0101369ee3d6f935213827c.tar.gz
Finally! Make './mtr --valgrind-mysqld --gdb' to work.
It has its limitations, e.g. it assumes that there's only one gdb and only one valgrind process is running. And a hard-coded one-second delay might be too short for slow machines. Still, it's better than "doesn't work at all"
Diffstat (limited to 'mysql-test/lib/My')
-rw-r--r--mysql-test/lib/My/SafeProcess.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/lib/My/SafeProcess.pm b/mysql-test/lib/My/SafeProcess.pm
index e7917f8fb16..7059ceebdad 100644
--- a/mysql-test/lib/My/SafeProcess.pm
+++ b/mysql-test/lib/My/SafeProcess.pm
@@ -84,7 +84,7 @@ sub is_child {
}
-my @safe_process_cmd;
+our @safe_process_cmd;
my $safe_kill;
my $bindir;