Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqllogictest: switch verbosity argument from usize to u8 #30848

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sqllogictest/src/bin/sqllogictest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct Args {
/// If specified twice, also show descriptions of each error.
/// If specified thrice, also print each query before it is executed.
#[clap(short = 'v', long = "verbose", action = ArgAction::Count)]
verbosity: usize,
verbosity: u8,
/// Don't exit with a failing code if not all queries are successful.
#[clap(long)]
no_fail: bool,
Expand Down
4 changes: 2 additions & 2 deletions src/sqllogictest/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ pub struct RunnerInner<'a> {
auto_index_selects: bool,
auto_transactions: bool,
enable_table_keys: bool,
verbosity: usize,
verbosity: u8,
stdout: &'a dyn WriteFmt,
_shutdown_trigger: trigger::Trigger,
_server_thread: JoinOnDropHandle<()>,
Expand Down Expand Up @@ -1797,7 +1797,7 @@ pub trait WriteFmt {
pub struct RunConfig<'a> {
pub stdout: &'a dyn WriteFmt,
pub stderr: &'a dyn WriteFmt,
pub verbosity: usize,
pub verbosity: u8,
pub postgres_url: String,
pub no_fail: bool,
pub fail_fast: bool,
Expand Down
Loading