mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #47141 "mysqltest" breaks because it tries to act on a debug option which is disabled
Replace --debug with --loose-debug to prevent failure exit Update: added workaround for 50627, skip all debugging of mysqlbinlog
This commit is contained in:
@ -1783,9 +1783,12 @@ sub executable_setup () {
|
|||||||
sub client_debug_arg($$) {
|
sub client_debug_arg($$) {
|
||||||
my ($args, $client_name)= @_;
|
my ($args, $client_name)= @_;
|
||||||
|
|
||||||
|
# Workaround for Bug #50627: drop any debug opt
|
||||||
|
return if $client_name =~ /^mysqlbinlog/;
|
||||||
|
|
||||||
if ( $opt_debug ) {
|
if ( $opt_debug ) {
|
||||||
mtr_add_arg($args,
|
mtr_add_arg($args,
|
||||||
"--debug=d:t:A,%s/log/%s.trace",
|
"--loose-debug=d:t:A,%s/log/%s.trace",
|
||||||
$path_vardir_trace, $client_name)
|
$path_vardir_trace, $client_name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user