mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fixes style
This commit is contained in:
parent
5b520fbe0f
commit
14e251f158
@ -945,7 +945,7 @@ bool DynamicQueryHandler::customizeQueryParam(ContextMutablePtr context, const s
|
|||||||
/// Save name and values of substitution in dictionary.
|
/// Save name and values of substitution in dictionary.
|
||||||
const String parameter_name = key.substr(strlen("param_"));
|
const String parameter_name = key.substr(strlen("param_"));
|
||||||
|
|
||||||
if(!context->getQueryParameters().contains(parameter_name))
|
if (!context->getQueryParameters().contains(parameter_name))
|
||||||
context->setQueryParameter(parameter_name, value);
|
context->setQueryParameter(parameter_name, value);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user