From a431ba81eb49272d3528f7f7ebfb1b801d311259 Mon Sep 17 00:00:00 2001 From: Ziyang Hu Date: Mon, 26 Jun 2023 18:36:01 +0800 Subject: [PATCH] remove dead code --- cozo-core/src/storage/tikv.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/cozo-core/src/storage/tikv.rs b/cozo-core/src/storage/tikv.rs index caeed7dc..25d848f6 100644 --- a/cozo-core/src/storage/tikv.rs +++ b/cozo-core/src/storage/tikv.rs @@ -26,9 +26,6 @@ use crate::Db; /// Connect to a Storage engine backed by TiKV. /// Experimental and very slow. pub fn new_cozo_tikv(pd_endpoints: Vec, optimistic: bool) -> Result> { - let raw_client = RT - .block_on(RawClient::new(pd_endpoints.clone())) - .into_diagnostic()?; let client = RT .block_on(TransactionClient::new(pd_endpoints)) .into_diagnostic()?;