mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
tests/sstable_mutation_test: Don't use moved-from object
Fix a bug introduced indbbb9e93dand exposed by gcc6 by not using a moved-from object. Twice. Signed-off-by: Duarte Nunes <duarte@scylladb.com> Message-Id: <20170802161033.4213-1-duarte@scylladb.com> (cherry picked from commit4c9206ba2f)
This commit is contained in:
committed by
Pekka Enberg
parent
4bb6ba6d58
commit
15eefbc434
@@ -821,13 +821,13 @@ SEASTAR_TEST_CASE(test_promoted_index_blocks_are_monotonic) {
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), cell);
|
||||
|
||||
ck = clustering_key::from_exploded(*s, {int32_type->decompose(1), int32_type->decompose(4)});
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), std::move(cell));
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), cell);
|
||||
|
||||
ck = clustering_key::from_exploded(*s, {int32_type->decompose(1), int32_type->decompose(6)});
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), std::move(cell));
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), cell);
|
||||
|
||||
ck = clustering_key::from_exploded(*s, {int32_type->decompose(3), int32_type->decompose(9)});
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), std::move(cell));
|
||||
m.set_clustered_cell(ck, *s->get_column_definition("v"), cell);
|
||||
|
||||
m.partition().apply_row_tombstone(*s, range_tombstone(
|
||||
clustering_key_prefix::from_exploded(*s, {int32_type->decompose(1)}),
|
||||
|
||||
Reference in New Issue
Block a user