mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
./mtr --client-gdb
followup for 339b905579
don't use $opt_gdb for --client-gdb
This commit is contained in:
parent
1f6bd88c24
commit
479fb6c1e9
1 changed files with 3 additions and 1 deletions
|
@ -5645,7 +5645,9 @@ sub gdb_arguments {
|
|||
# Put $args into a single string
|
||||
$input = $input ? "< $input" : "";
|
||||
|
||||
if ($type ne 'client' and $opt_valgrind_mysqld) {
|
||||
if ($type eq 'client') {
|
||||
mtr_tofile($gdb_init_file, "set args @$$args $input");
|
||||
} elsif ($opt_valgrind_mysqld) {
|
||||
my $v = $$exe;
|
||||
my $vargs = [];
|
||||
valgrind_arguments($vargs, \$v);
|
||||
|
|
Loading…
Reference in a new issue