mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Print error if using --debug and binaries does not support it
This commit is contained in:
parent
6a8f27fae7
commit
c91124e267
1 changed files with 5 additions and 0 deletions
|
@ -1560,6 +1560,11 @@ sub check_debug_support () {
|
|||
{
|
||||
# mtr_report("Binaries are not debug compiled");
|
||||
$debug_compiled_binaries= 0;
|
||||
|
||||
if ( $opt_debug )
|
||||
{
|
||||
mtr_error("Can't use --debug, binaries does not support it");
|
||||
}
|
||||
return;
|
||||
}
|
||||
mtr_report("Binaries are debug compiled");
|
||||
|
|
Loading…
Reference in a new issue