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 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) - } -}