diff options
Diffstat (limited to 'log_db/benches/utils.rs')
| -rw-r--r-- | log_db/benches/utils.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/log_db/benches/utils.rs b/log_db/benches/utils.rs index c43e477..a62162e 100644 --- a/log_db/benches/utils.rs +++ b/log_db/benches/utils.rs @@ -26,9 +26,9 @@ pub fn random_bytes(len: usize) -> Vec<u8> { pub fn random_record(from_id: i64, to_id: i64) -> Record { Record { values: vec![ - RecordValue::Int(random_int(from_id, to_id)), // Random int value between 0..1000 - RecordValue::String(random_string(5)), // Random string of length 5 - RecordValue::Bytes(random_bytes(10)), // Random bytes of length 10 + Value::Int(random_int(from_id, to_id)), // Random int value between 0..1000 + Value::String(random_string(5)), // Random string of length 5 + Value::Bytes(random_bytes(10)), // Random bytes of length 10 ], } } |
