diff --git a/cql3/restrictions/token_restriction.hh b/cql3/restrictions/token_restriction.hh index 0b8c8da021..4a634cefb1 100644 --- a/cql3/restrictions/token_restriction.hh +++ b/cql3/restrictions/token_restriction.hh @@ -99,7 +99,7 @@ public: if (start_token > end_token || (start_token == end_token && (!include_start || !include_end))) { - return {query::partition_range::make_open_ended_both_sides()}; + return {}; } typedef typename bounds_range_type::bound bound;