Pekka Enberg
0485289741
cql3: Fix selecting same column multiple times
...
Under the hood, the selectable::add_and_get_index() function
deliberately filters out duplicate columns. This causes
simple_selector::get_output_row() to return a row with all duplicate
columns filtered out, which triggers and assertion because of row
mismatch with metadata (which contains the duplicate columns).
The fix is rather simple: just make selection::from_selectors() use
selection_with_processing if the number of selectors and column
definitions doesn't match -- like Apache Cassandra does.
Fixes #1367
Message-Id: <1477989740-6485-1-git-send-email-penberg@scylladb.com >
(cherry picked from commit e1e8ca2788 )
2016-11-01 09:33:19 +00:00
..
2016-04-08 08:12:47 +03:00
2016-10-07 08:45:18 +03:00
2016-11-01 09:33:19 +00:00
2016-10-06 15:42:37 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-05-16 14:13:31 +03:00
2016-05-16 14:13:31 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-20 09:54:06 +02:00
2016-04-08 08:12:47 +03:00
2016-05-31 09:12:11 +03:00
2016-10-06 15:42:37 +03:00
2016-04-11 12:35:53 +03:00
2016-04-11 12:35:53 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-10-06 15:42:37 +03:00
2016-10-06 15:42:37 +03:00
2016-04-08 08:12:47 +03:00
2016-06-27 15:24:27 +02:00
2016-09-20 10:01:10 +01:00
2016-08-16 10:39:15 +03:00
2016-06-27 15:39:02 +02:00
2016-04-08 08:12:47 +03:00
2016-10-06 15:42:37 +03:00
2016-05-31 09:12:20 +03:00
2016-05-31 09:12:11 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-08-03 17:21:41 +00:00
2016-10-06 15:42:37 +03:00
2016-07-18 19:36:35 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-18 13:51:15 +00:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-11 09:10:41 +00:00
2016-04-11 09:10:41 +00:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00
2016-04-08 08:12:47 +03:00