mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
fix
This commit is contained in:
parent
d97c2ccdc8
commit
f3ef4666e7
@ -501,11 +501,11 @@ void HTTPHandler::processQuery(
|
||||
else if (param_could_be_skipped(key))
|
||||
{
|
||||
}
|
||||
else if (startsWith(it->first, "param_"))
|
||||
else if (startsWith(key, "param_"))
|
||||
{
|
||||
/// Save name and values of substitution in dictionary.
|
||||
const String parameter_name = it->first.substr(strlen("param_"));
|
||||
context.setParameterSubstitution(parameter_name, it->second);
|
||||
const String parameter_name = key.substr(strlen("param_"));
|
||||
context.setParameterSubstitution(parameter_name, value);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
0
dbms/tests/queries/0_stateless/00955_complex_prepared_statements.sh
Normal file → Executable file
0
dbms/tests/queries/0_stateless/00955_complex_prepared_statements.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user