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

mariadb-10.2.9/sql/log_event.cc:7671: possible wrong operator ?

    XMLWordPrintable

Details

    Description

      mariadb-10.2.9/sql/log_event.cc:7671]: (style) Boolean result is used in bitwise operation. Clarify expression with parentheses.
      

      Source code is

        if (!print_event_info->short_form & !is_flashback)
      

      Maybe better code

        if (!print_event_info->short_form && !is_flashback)
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.