Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6717

selector can match incorrectly due to different type for values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: qpid-cpp-0.34
    • Fix Version/s: qpid-cpp-1.35.0
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      E.g. a selector "x BETWEEN 1 AND 10" would match for a value of x="foo", because of the way the logic is implemented for the between expression, or a selector "x NOT IN ('a', 'b', 'c')" would match where x=1, though it should not due to the type mismatch.

      From JMS spec: "Only like type values can be compared. One exception is that it is valid to compare exact numeric values and approximate numeric values"

        Attachments

          Activity

            People

            • Assignee:
              astitcher Andrew Stitcher
              Reporter:
              gsim Gordon Sim
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: