mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-09 10:14:21 +01:00
fix formatting
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user