Merge 'fix some typo' from meteorgan

Closes #999
This commit is contained in:
Pekka Enberg
2025-02-14 10:37:40 +02:00
3 changed files with 5 additions and 5 deletions

View File

@@ -123,7 +123,7 @@ pub enum Command {
Cwd,
/// Display information about settings
ShowInfo,
/// Set the value of NULL to be printedin 'raw' mode
/// Set the value of NULL to be printed in 'raw' mode
NullValue,
/// Toggle 'echo' mode to repeat commands before execution
Echo,

View File

@@ -343,7 +343,7 @@ impl Value {
}
}
/// Creates a new float Value from an f64
/// Creates a new float Value from a f64
pub fn from_float(value: f64) -> Self {
Self {
value_type: ValueType::Float,

View File

@@ -2,13 +2,13 @@
Limbo simulator uses randomized deterministic simulations to test the Limbo database behaviors.
Each simulations begins with a random configurations;
Each simulation begins with a random configurations:
- the database workload distribution(percentages of reads, writes, deletes...),
- database parameters(page size),
- number of reader or writers, etc.
Based on these parameters, we randomly generate **interaction plans**. Interaction plans consist of statements/queries, and assertions that will be executed in order. The building blocks of interaction plans are;
Based on these parameters, we randomly generate **interaction plans**. Interaction plans consist of statements/queries, and assertions that will be executed in order. The building blocks of interaction plans are:
- Randomly generated SQL queries satisfying the workload distribution,
- Properties, which contain multiple matching queries with assertions indicating the expected result.
@@ -20,7 +20,7 @@ An example of a property is the following:
"name": "Read your own writes",
"queries": [
"INSERT INTO t1 (id) VALUES (1)",
"SELECT * FROM t1 WHERE id = 1",
"SELECT * FROM t1 WHERE id = 1"
],
"assertions": [
"result.rows.length == 1",