alternator: remove two unused lines of code

These lines of codes were superfluous and their result unused: the
make_item_mutation() function finds the pk and ck on its own.

Signed-off-by: Nadav Har'El <nyh@scylladb.com>
This commit is contained in:
Nadav Har'El
2019-05-21 15:43:17 +03:00
parent 0987916542
commit c8270831ec

View File

@@ -350,8 +350,6 @@ future<json::json_return_type> executor::put_item(std::string content) {
schema_ptr schema = get_table(_proxy, update_info);
const Json::Value& item = update_info["Item"];
partition_key pk = pk_from_json(item, schema);
clustering_key ck = ck_from_json(item, schema);
mutation m = make_item_mutation(item, schema);