Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
MariaDB Server is unnecessarily evaluating the arguments of DBUG_PRINT() macros when the label is not defined.
The macro DBUG_LOG() for C++ operator<< output which was added for InnoDB diagnostics in MySQL 5.7 is missing from MariaDB. Unlike the MySQL 5.7 implementation, MariaDB will avoid allocating and initializing the output string when the label is not defined.
Attachments
Issue Links
- relates to
-
MDEV-12072 Do not unnecessarily construct rec_printer objects in debug builds
- Closed
-
MDEV-11684 post-10.1-merge fixes
- Closed