Browse Source
MDEV-29613 Improve WITH_DBUG_TRACE=OFF
MDEV-29613 Improve WITH_DBUG_TRACE=OFF
In commit 28325b0863
a compile-time option was introduced to disable the macros
DBUG_ENTER and DBUG_RETURN or DBUG_VOID_RETURN.
The parameter name WITH_DBUG_TRACE would hint that it also
covers DBUG_PRINT statements. Let us do that: WITH_DBUG_TRACE=OFF
shall disable DBUG_PRINT() as well.
A few InnoDB recovery tests used to check that some output from
DBUG_PRINT("ib_log", ...) is present. We can live without those checks.
Reviewed by: Vladislav Vaintroub
bb-10.4-MDEV-29456
31 changed files with 89 additions and 99 deletions
-
6CMakeLists.txt
-
8extra/mariabackup/xtrabackup.cc
-
7include/my_dbug.h
-
1mysql-test/suite/encryption/r/debug_key_management.result
-
1mysql-test/suite/encryption/t/debug_key_management.test
-
5mysql-test/suite/innodb/r/log_alter_table.result
-
3mysql-test/suite/innodb/r/log_file_name_debug.result
-
15mysql-test/suite/innodb/t/log_alter_table.test
-
4mysql-test/suite/innodb/t/log_file_name_debug.test
-
6mysys/mf_keycache.c
-
25sql/debug_sync.cc
-
2sql/event_queue.cc
-
6sql/field.cc
-
4sql/gcalc_slicescan.cc
-
2sql/log.h
-
4sql/log_event.cc
-
4sql/mdl.cc
-
4sql/rpl_injector.h
-
6sql/rpl_record.cc
-
4sql/slave.cc
-
15sql/sql_binlog.cc
-
5sql/sql_cache.cc
-
2sql/sql_class.cc
-
2sql/table.cc
-
4storage/innobase/que/que0que.cc
-
2storage/maria/ma_check.c
-
6storage/maria/ma_loghandler.c
-
17storage/maria/ma_pagecache.c
-
6storage/maria/unittest/ma_pagecache_single.c
-
2storage/myisam/mi_check.c
-
10storage/myisam/mi_create.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue