mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-04 14:03:06 +00:00
BEGINS_WITH statement increments a string in order to compute the upper bound for a clustering range of a query. Unfortunately, previous implementation was not correct, as it appended a <0> byte if the last character was <255>, instead of incrementing a last-but-one character. If the string contains <255> bytes only, the upper bound of the returned upper bound is infinite. Message-Id: <3a569f08f61fca66cc4f5d9e09a7188f6daad578.1558524028.git.sarna@scylladb.com>