remove else

This commit is contained in:
jeremy 2022-10-25 12:30:14 +02:00
parent c1d0fddaac
commit cdab8828e4

View File

@ -1010,9 +1010,9 @@ msgs::ReadResponses ShardRsm::HandleRead(msgs::ScanVerticesRequest &&req) {
msgs::ReadResponses ShardRsm::HandleRead(msgs::ExpandOneRequest &&req) {
if (!req.order_by.empty()) {
return HandleReadWithOrderBy(std::move(req), shard_->Access(req.transaction_id));
} else
}
return HandleReadWithoutOrderBy(std::move(req), shard_->Access(req.transaction_id));
return HandleReadWithoutOrderBy(std::move(req), shard_->Access(req.transaction_id));
}
msgs::WriteResponses ShardRsm::ApplyWrite(msgs::CommitRequest &&req) {