fix formatting

This commit is contained in:
alpaylan
2025-02-09 09:34:32 -05:00
parent 47420db16f
commit 6f567bd2ef
2 changed files with 10 additions and 4 deletions

View File

@@ -312,15 +312,21 @@ impl Interactions {
}
select.shadow(env);
}
Property::DropSelect { table, queries, select } => {
let drop = Query::Drop(Drop { table: table.clone() });
Property::DropSelect {
table,
queries,
select,
} => {
let drop = Query::Drop(Drop {
table: table.clone(),
});
drop.shadow(env);
for query in queries {
query.shadow(env);
}
select.shadow(env);
},
}
}
for interaction in property.interactions() {
match interaction {

View File

@@ -28,7 +28,7 @@ impl SimulatorEnv {
let (create_percent, read_percent, write_percent, delete_percent, drop_percent) = {
let total = 100.0;
let read_percent = rng.gen_range(0.0..=total);
let write_percent = total - read_percent;