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

mariadb-10.2.9/storage/mroonga/vendor/groonga/lib/egn.cpp: 2 * suspicious condition ?

    XMLWordPrintable

Details

    Description

      [mariadb-10.2.9/storage/mroonga/vendor/groonga/lib/egn.cpp:2731] -> [mariadb-10.2.9/storage/mroonga/vendor/groonga/lib/egn.cpp:2731]: (style) Same expression on both sides of '||'.
      [mariadb-10.2.9/storage/mroonga/vendor/groonga/lib/egn.cpp:2738] -> [mariadb-10.2.9/storage/mroonga/vendor/groonga/lib/egn.cpp:2738]: (style) Same expression on both sides of '||'.
      

      Source code is

            if ((arg1->data_type() != GRN_DB_BOOL) ||
                (arg1->data_type() != GRN_DB_BOOL)) {
      

      Similar code a few lines further down.

            if ((arg1->data_type() != GRN_DB_BOOL) ||
                (arg1->data_type() != GRN_DB_BOOL)) {
      

      Attachments

        Activity

          People

            kou Kouhei Sutou
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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