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
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
MariaDB Server is unnecessarily evaluating the arguments of DBUG_PRINT() macros when the label is not defined.
The macro DBUG_OUT() 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 should avoid allocating and initializing the output string when the label is not defined. |
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. |
Assignee | Marko Mäkelä [ marko ] | Jan Lindström [ jplindst ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Jan Lindström [ jplindst ] | Sergei Golubchik [ serg ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.2.4 [ 22116 ] |
Assignee | Sergei Golubchik [ serg ] | Jan Lindström [ jplindst ] |
Assignee | Jan Lindström [ jplindst ] | Marko Mäkelä [ marko ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.2.4 [ 22116 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 79058 ] | MariaDB v4 [ 133087 ] |
Please review the changes to dbug.c and my_dbug.h.