Skip to content

Commit

Permalink
Fix compiling error of write-bench (#1918)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Aug 3, 2022
1 parent 7009cca commit aedbb31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ use std::time::Duration;
use maxgraph_store::db::api::multi_version_graph::MultiVersionGraph;
use maxgraph_store::db::api::{GraphConfigBuilder, TypeDefBuilder, Value, ValueType};
use maxgraph_store::db::graph::store::GraphStore;

use self::db::util::{fs, Timer};
use maxgraph_store::db::util::{fs, time};

fn main() {
let args: Vec<String> = env::args().collect();
Expand Down Expand Up @@ -61,7 +60,7 @@ fn main() {
.unwrap();
println!("schema created");
let str_len = 100;
let timer = Timer::new();
let timer = time::Timer::new();
let mut tmp_time = 0.0;
let mut tmp_count = 0;
let val = "c".repeat(str_len);
Expand Down
2 changes: 1 addition & 1 deletion interactive_engine/executor/store/groot/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ pub mod graph;
#[allow(bare_trait_objects)]
pub mod proto;
pub mod storage;
mod util;
pub mod util;
pub mod wrapper;
1 change: 0 additions & 1 deletion interactive_engine/executor/store/groot/src/db/util/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[cfg(test)]
pub mod fs;
pub mod lock;
pub mod time;

0 comments on commit aedbb31

Please sign in to comment.