diff --git a/src/db.rs b/src/db.rs index 9b916b1d..9625e8fc 100644 --- a/src/db.rs +++ b/src/db.rs @@ -18,7 +18,8 @@ use crate::storage::{StatisticsMetaCache, Storage, TableCache, Transaction}; use crate::types::tuple::{SchemaRef, Tuple}; use crate::utils::lru::ShardingLruCache; use ahash::HashMap; -use parking_lot::{ArcRwLockReadGuard, ArcRwLockWriteGuard, RawRwLock, RwLock}; +use parking_lot::{RawRwLock, RwLock}; +use parking_lot::lock_api::{ArcRwLockReadGuard, ArcRwLockWriteGuard}; use sqlparser::ast::Statement; use std::hash::RandomState; use std::path::PathBuf;