Skip to content

Commit ab0a6d5

Browse files
committed
fix
1 parent 8e2e187 commit ab0a6d5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/request/plan.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ where
784784
type Result = P::Result;
785785

786786
async fn execute(&self) -> Result<Self::Result> {
787-
let result = self.inner.execute().await?;
787+
let mut result = self.inner.execute().await?;
788788
if let Some(errors) = result.key_errors() {
789789
Err(Error::ExtractedErrors(errors))
790790
} else if let Some(errors) = result.region_errors() {

src/store/errors.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
22

3+
use std::fmt::Display;
4+
35
use crate::proto::kvrpcpb;
46
use crate::Error;
57

0 commit comments

Comments
 (0)