mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
Untemplatize continuation in storage_proxy::query
Nothing wrong with it besides that it crashs my eclips indexer for some reason.
This commit is contained in:
@@ -2063,7 +2063,7 @@ storage_proxy::query(schema_ptr s,
|
||||
auto query_id = next_id++;
|
||||
|
||||
logger.trace("query {}.{} cmd={}, ranges={}, id={}", s->ks_name(), s->cf_name(), *cmd, ::join(", ", partition_ranges), query_id);
|
||||
return do_query(s, cmd, std::move(partition_ranges), cl).then([query_id, cmd, s] (auto&& res) {
|
||||
return do_query(s, cmd, std::move(partition_ranges), cl).then([query_id, cmd, s] (foreign_ptr<lw_shared_ptr<query::result>>&& res) {
|
||||
logger.trace("query_result id={}, {}", query_id, res->pretty_print(s, cmd->slice));
|
||||
return std::move(res);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user