Bug #95082 cleanup old/unused dbug functionality
Submitted: 23 Apr 2019 9:55 Modified: 24 Apr 2019 17:42
Reporter: Tor Didriksen Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.18 OS:Any
Assigned to: CPU Architecture:Any

[23 Apr 2019 9:55] Tor Didriksen
The dbug/ directory contains several files which are not used or maintained. Remove them.

How to repeat:
Read the code.

Suggested fix:
See Description
[24 Apr 2019 17:42] Paul DuBois
Posted by developer:
Fixed in 8.0.18.

In source distributions, these changes were made in relation to the
DBUG package, to clean up old and unmaintained code in the dbug

* Moved dbug.cc to the mysys directory, removed the dbug library.
* Removed unused functions in dbug.cc.
* Removed the DBUG_LEAVE macro; no longer needed.
* Wrapped the body of the DBUG_LOG macro in if _db_enabled_(), to avoid
  formatting of strings that likely will not be printed anyway.
* Removed the dbug directory.