Skip to content

Commit

Permalink
fix: build bug, imports for clarity
Browse files Browse the repository at this point in the history
imports in db.rs by using lock_api for ArcRwLock guards.
  • Loading branch information
loloxwg committed Sep 14, 2024
1 parent a4cdca4 commit f27cb24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f27cb24

Please sign in to comment.