Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
qpid-cpp-0.34
-
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"