mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-103: 'debug' is disabled in this build warnings causes tests to fail
The root cause is that after recent fixes around --debug variable (lp:909051) the variable is now available in both release and debug builds, such that MTR cannot tell a debug compiled server from optimized one. To fix, assign a special default value 'disabled' for 'debug' variable in optimized build and fix MTR to check for this special value to recognize optimized build.
This commit is contained in:
@@ -2826,8 +2826,9 @@ sub check_ipv6_support {
|
||||
|
||||
sub check_debug_support ($) {
|
||||
my $mysqld_variables= shift;
|
||||
|
||||
if ( ! $mysqld_variables->{'debug'} )
|
||||
my $debug_var= $mysqld_variables->{'debug'};
|
||||
|
||||
if ( !$debug_var || $debug_var eq "disabled")
|
||||
{
|
||||
#mtr_report(" - binaries are not debug compiled");
|
||||
$debug_compiled_binaries= 0;
|
||||
|
||||
Reference in New Issue
Block a user