diff --git a/Cargo.lock b/Cargo.lock index 12eab1d..9792518 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1890,7 +1890,7 @@ dependencies = [ [[package]] name = "sqllogictest" -version = "0.23.0" +version = "0.23.1" dependencies = [ "async-trait", "educe", @@ -1913,7 +1913,7 @@ dependencies = [ [[package]] name = "sqllogictest-bin" -version = "0.23.0" +version = "0.23.1" dependencies = [ "anyhow", "async-trait", @@ -1935,7 +1935,7 @@ dependencies = [ [[package]] name = "sqllogictest-engines" -version = "0.23.0" +version = "0.23.1" dependencies = [ "async-trait", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 6a7df83..58f1766 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["sqllogictest", "sqllogictest-bin", "sqllogictest-engines", "tests"] [workspace.package] -version = "0.23.0" +version = "0.23.1" edition = "2021" homepage = "https://github.com/risinglightdb/sqllogictest-rs" keywords = ["sql", "database", "parser", "cli"] diff --git a/sqllogictest-bin/src/main.rs b/sqllogictest-bin/src/main.rs index 53f8506..d50a027 100644 --- a/sqllogictest-bin/src/main.rs +++ b/sqllogictest-bin/src/main.rs @@ -262,6 +262,7 @@ pub async fn main() -> Result<()> { result } +#[allow(clippy::too_many_arguments)] async fn run_parallel( jobs: usize, keep_db_on_failure: bool, @@ -308,7 +309,7 @@ async fn run_parallel( let mut stream = futures::stream::iter(create_databases.into_iter()) .map(|(db_name, filename)| { let mut config = config.clone(); - config.db = db_name.clone(); + config.db.clone_from(&db_name); let file = filename.to_string_lossy().to_string(); let engine = engine.clone(); let labels = labels.to_vec();