mutation: Set cell using clustering_key_prefix

Change the clustering key argument in mutation::set_cell from
exploded_clustering_prefix to clustering_key_prefix, which allows for
some overall code simplification and fewer copies. This mostly affects
the cql3 layer.

Signed-off-by: Duarte Nunes <duarte@scylladb.com>
This commit is contained in:
Duarte Nunes
2017-04-27 00:38:49 +02:00
parent db63ffdbb4
commit 9e88b60ef5
24 changed files with 93 additions and 122 deletions

View File

@@ -254,6 +254,9 @@ public:
size_t operator()(const TopLevel& o) const {
return _t->hash(o);
}
size_t operator()(const TopLevelView& o) const {
return _t->hash(o.representation());
}
};
struct equality {