mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
./mtr --client-gdb
followup for 339b905579
don't use $opt_gdb for --client-gdb
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user