1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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"
This commit is contained in:
Sergei Golubchik
2018-01-21 15:08:33 +01:00
parent f2408e7e6a
commit d9c460b84e
2 changed files with 14 additions and 5 deletions

View File

@ -84,7 +84,7 @@ sub is_child {
}
my @safe_process_cmd;
our @safe_process_cmd;
my $safe_kill;
my $bindir;