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

Optimize DBUG_PRINT and introduce DBUG_LOG

    XMLWordPrintable

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

            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.