Dejan Mircevski
a127f5615b
cql3: Simplify pk test in statement_restrictions
...
statement_restrictions::process_partition_key_restrictions() was
checking has_unrestricted_components(), whereas just an empty() check
suffices there, because has_unrestricted_components() is implicitly
checked five lines down by needs_filtering().
The replacement check is cheaper and simpler to understand.
Tests: unit (dev)
Signed-off-by: Dejan Mircevski <dejan@scylladb.com >
2020-09-06 12:39:36 +03:00
..
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-06 12:39:36 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-05-30 09:49:29 +03:00
2020-05-30 09:49:29 +03:00
2020-05-30 09:49:29 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-02-20 18:14:49 +02:00
2020-06-08 11:28:57 +03:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00
2020-05-30 09:49:29 +03:00
2020-08-20 12:51:36 +03:00
2020-07-21 10:33:49 -07:00
2019-12-11 10:44:40 -08:00
2020-09-04 17:27:30 +02:00
2020-08-18 13:45:20 +03:00
2019-11-26 02:24:49 +03:00
2020-02-28 08:36:27 -08:00
2020-02-28 08:36:27 -08:00
2020-08-20 12:51:36 +03:00
2020-06-26 09:19:36 -04:00
2020-08-20 12:51:36 +03:00
2020-05-30 09:49:29 +03:00
2020-08-18 12:27:00 +02:00
2020-05-31 23:45:19 +03:00
2020-05-31 23:45:19 +03:00
2020-09-04 17:27:30 +02:00
2020-08-26 09:45:49 +02:00
2020-08-26 09:45:49 +02:00
2020-05-28 09:09:48 +02:00
2020-07-07 11:54:36 +02:00
2020-05-06 19:02:36 +03:00
2020-08-18 12:27:01 +02:00
2020-08-03 17:32:49 +02:00
2020-06-29 12:30:37 +03:00
2020-06-29 12:30:37 +03:00
2020-08-20 12:51:36 +03:00
2020-05-30 09:49:29 +03:00
2020-08-25 11:10:36 +03:00
2020-08-25 11:10:36 +03:00
2020-02-18 16:16:20 +02:00
2020-09-04 17:27:30 +02:00
2020-08-18 12:27:00 +02:00
2020-08-18 12:27:00 +02:00
2020-07-21 10:33:49 -07:00
2020-08-26 09:45:49 +02:00
2020-05-30 09:49:29 +03:00
2020-07-03 10:27:23 +02:00
2020-07-03 10:27:23 +02:00
2020-06-15 15:47:15 -07:00
2020-07-28 10:06:00 +03:00
2020-08-03 17:32:49 +02:00
2020-09-04 13:13:26 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-03-23 23:19:21 +03:00
2020-08-26 09:45:48 +02:00
2020-08-26 09:45:48 +02:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00