Fix benchmarks (#3864)

This commit is contained in:
Rushmore Mushambi 2024-04-15 12:28:08 +02:00 committed by GitHub
parent 2f0f8dcc93
commit 77f1318152
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 6 deletions

View file

@ -45,8 +45,8 @@ use crate::sql::paths::OUT;
use crate::sql::thing::Thing; use crate::sql::thing::Thing;
use crate::sql::Strand; use crate::sql::Strand;
use crate::sql::Value; use crate::sql::Value;
use crate::vs::Oracle;
use crate::vs::Versionstamp; use crate::vs::Versionstamp;
use crate::vs::{conv, Oracle};
use super::kv::Add; use super::kv::Add;
use super::kv::Convert; use super::kv::Convert;
@ -2907,7 +2907,7 @@ impl Transaction {
trace!( trace!(
"Setting timestamp {} for versionstamp {:?} in ns: {}, db: {}", "Setting timestamp {} for versionstamp {:?} in ns: {}, db: {}",
ts, ts,
conv::versionstamp_to_u64(&vs), crate::vs::conv::versionstamp_to_u64(&vs),
ns, ns,
db db
); );

View file

@ -13,7 +13,7 @@ impl Create {
pub fn new(runtime: &'static Runtime) -> Self { pub fn new(runtime: &'static Runtime) -> Self {
Self { Self {
runtime, runtime,
table_name: format!("table_{}", Id::rand()), table_name: format!("table_{}", Id::rand().to_raw()),
} }
} }
} }

View file

@ -13,7 +13,7 @@ impl Read {
pub fn new(runtime: &'static Runtime) -> Self { pub fn new(runtime: &'static Runtime) -> Self {
Self { Self {
runtime, runtime,
table_name: format!("table_{}", Id::rand()), table_name: format!("table_{}", Id::rand().to_raw()),
} }
} }
} }

View file

@ -12,7 +12,7 @@ impl Create {
pub fn new(runtime: &'static Runtime) -> Self { pub fn new(runtime: &'static Runtime) -> Self {
Self { Self {
runtime, runtime,
table_name: format!("table_{}", Id::rand()), table_name: format!("table_{}", Id::rand().to_raw()),
} }
} }
} }

View file

@ -12,7 +12,7 @@ impl Read {
pub fn new(runtime: &'static Runtime) -> Self { pub fn new(runtime: &'static Runtime) -> Self {
Self { Self {
runtime, runtime,
table_name: format!("table_{}", Id::rand()), table_name: format!("table_{}", Id::rand().to_raw()),
} }
} }
} }