Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11713

Optimize DBUG_PRINT and introduce DBUG_LOG

Details

    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

          Activity

            Transition Time In Source Status Execution Times
            Marko Mäkelä made transition -
            Open In Progress
            6s 1
            Marko Mäkelä made transition -
            In Progress In Review
            21m 1s 1
            Jan Lindström (Inactive) made transition -
            In Review Stalled
            1d 17h 36m 1
            Marko Mäkelä made transition -
            Stalled Closed
            1h 34m 1

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.