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

`or` alterative operator breaking windows build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 10.4.11
    • Component/s: Server
    • Labels:
      None
    • Environment:
      Windows 10, vs 2015

      Description

      Commit b44171428ab2ea25db82f7cd27349e67812e4921 introduced the `or` operator in sql/item_subselect.cc:126 . This has caused us some problems with building on windows with vs2015. I searched the code base and could not find another use of `or` as the alternative operator.

      I propose removing the user of `or` and using the traditional `||`. I'll push a PR against 10.4 shortly to address this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anel Anel Husakovic
              Reporter:
              Shelnutt2 Seth Shelnutt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: