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

db_bench: Support '--groups' in addition to '-groups' (#283) #295

Merged
Merged
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
3 changes: 2 additions & 1 deletion tools/db_bench_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9520,7 +9520,8 @@ int db_bench_tool(int argc, char** argv) {

// Check for multiple-groups mode
int result = 0;
if (argc > 1 && std::string(argv[1]) == "-groups") {
if (argc > 1 && ((std::string(argv[1]) == "-groups") ||
(std::string(argv[1]) == "--groups"))) {
auto arg_idx = 2;
std::vector<char*> first_group_argv_vec;
// Process all groups, as long as all of them run successfully
Expand Down