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

mariadb-10.2.11/storage/mroonga/vendor/groonga/lib/ts/ts_expr_parser.c:675: bad if ?

    XMLWordPrintable

Details

    Description

      mariadb-10.2.11/storage/mroonga/vendor/groonga/lib/ts/ts_expr_parser.c:675]: (style) Expression is always false because 'else if' condition matches previous condition at line 672.

      Source code is

      if ((str.size >= 2) && (str.ptr[1] == '&'))

      { token_str.size = 2; op_type = GRN_TS_OP_LOGICAL_AND; }

      else if ((str.size >= 2) && (str.ptr[1] == '&')) {
      token_str.size = 2;
      op_type = GRN_TS_OP_LOGICAL_SUB;

      Attachments

        Activity

          People

            kou Kouhei Sutou
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.