mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-29 12:47:02 +00:00
This patch addes a reproducing test for issue #13241, where attempting a SELECT restriction (b,c,d) IN ((1,2)) - where the tuple is shorter than needed - crashes Scylla (on segmentation fault) instead of generating a clean error as it should (and as done on Cassandra). The test also demonstractes that if the tuple is longer than needed (instead of shorter), the behavior is correct, and it is also correct if "=" is used instead of IN. Only the combination of IN and too-short tuple seems to be broken - but broken in a bad way (can be used to crash Scylla). Because the test crashes Scylla when fails, it is marked "skip". Refs #13241 Signed-off-by: Nadav Har'El <nyh@scylladb.com> Closes #13244