From 76ba478906a0381080e196300d5df27ab8b6ebae Mon Sep 17 00:00:00 2001 From: guojidan <1948535941@qq.com> Date: Mon, 20 Nov 2023 08:32:26 +0000 Subject: [PATCH 1/2] fix CacheError --- src/storage/mod.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/storage/mod.rs b/src/storage/mod.rs index b27feecc..ac561151 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -8,7 +8,6 @@ use crate::storage::table_codec::TableCodec; use crate::types::errors::TypeError; use crate::types::index::{Index, IndexMetaRef}; use crate::types::tuple::{Tuple, TupleId}; -use kip_db::error::CacheError; use kip_db::kernel::lsm::mvcc; use kip_db::KernelError; use std::collections::VecDeque; @@ -147,9 +146,6 @@ pub enum StorageError { #[error("kipdb error")] KipDBError(KernelError), - #[error("cache error")] - CacheError(CacheError), - #[error("type error")] TypeError(#[from] TypeError), @@ -168,9 +164,3 @@ impl From for StorageError { StorageError::KipDBError(value) } } - -impl From for StorageError { - fn from(value: CacheError) -> Self { - StorageError::CacheError(value) - } -} From 1fc547db4df8223274e37c98c84e201765cc8842 Mon Sep 17 00:00:00 2001 From: guojidan <1948535941@qq.com> Date: Mon, 20 Nov 2023 09:39:25 +0000 Subject: [PATCH 2/2] install protoc --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab93efad..430af618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,9 @@ jobs: override: true components: rustfmt, clippy + - name: Install Protoc + uses: arduino/setup-protoc@v2 + # `cargo check` command here will use installed `nightly` # as it is set as an "override" for current directory @@ -75,6 +78,9 @@ jobs: override: true components: rustfmt, clippy + - name: Install Protoc + uses: arduino/setup-protoc@v2 + # `cargo check` command here will use installed `nightly` # as it is set as an "override" for current directory