Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6, 10.11, 11.4, 11.8
-
None
-
Not for Release Notes
-
The regression test suite could occasionally fail due to test case timeouts due to some DBUG tracing code that is unnecessarily being included and executed in CMAKE_BUILD_TYPE=Debug builds.
Description
Even after it was improved in MDEV-29613, the setting WITH_DBUG_TRACE=OFF does not disable DBUG_LOG or DBUG_DUMP.
I suspect that this additional code bloat could cause some test case timeouts on debug-instrumented builds. I became aware of this when diagnosing MDEV-38391. To reproduce this, run the following:
mysql-test/mtr innodb.import_hidden_fts_debug
|
cat mysql-test/var/log/mysqld.1.err
|
On 11.4, even after my fix, this would produce some print_where() output, but I think that we can live with that. The culprit for that output should be that the test fails to work around MDEV-21361.
Attachments
Issue Links
- relates to
-
MDEV-21361 +d,-d may break consistent state of DEBUG_DBUG
-
- Open
-
-
MDEV-29613 Improve WITH_DBUG_TRACE=OFF
-
- Closed
-
-
MDEV-33073 always green buildbot
-
- Stalled
-
-
MDEV-38391 Memory leak in innodb.import_hidden_fts_debug
-
- Confirmed
-