dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-07-21 07:08:38 +00:00
parent 5ee98f1937
commit 8498979724

View File

@ -266,8 +266,8 @@ struct Range
if (!right_bounded) if (!right_bounded)
return contains(segment_right); return contains(segment_right);
return boost::apply_visitor(FieldVisitorLess(), segment_left, right) || (right_included && segment_left == right) return (boost::apply_visitor(FieldVisitorLess(), segment_left, right) || (right_included && segment_left == right))
|| boost::apply_visitor(FieldVisitorGreater(), segment_right, left) || (left_included && segment_right == left); && (boost::apply_visitor(FieldVisitorGreater(), segment_right, left) || (left_included && segment_right == left));
} }
String toString() String toString()