mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Fixes for #5331
This commit is contained in:
parent
34072c2dde
commit
da04db2a93
@ -1622,10 +1622,7 @@ public:
|
||||
|
||||
/// Parameter arg after underline.
|
||||
if (startsWith(arg, "--param_"))
|
||||
{
|
||||
parameter_arguments.emplace_back(Arguments{""});
|
||||
parameter_arguments.back().emplace_back(arg);
|
||||
}
|
||||
parameter_arguments.emplace_back(Arguments{arg});
|
||||
else
|
||||
common_arguments.emplace_back(arg);
|
||||
}
|
||||
@ -1706,7 +1703,7 @@ public:
|
||||
/// Parse commandline options related to prepared statements.
|
||||
po::options_description parameter_description("Query parameters options");
|
||||
parameter_description.add_options()
|
||||
("param_", po::value<std::string>(), "name and value of substitution, with syntax --param_name=value")
|
||||
("param_", po::value<std::string>(), "name and value of substitution, with syntax --param_name=value")
|
||||
;
|
||||
|
||||
for (size_t i = 0; i < parameter_arguments.size(); ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user