mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update HTTPHandler.cpp
This commit is contained in:
parent
15cc44d894
commit
b159bf1605
@ -422,7 +422,7 @@ void HTTPHandler::processQuery(
|
||||
std::unique_ptr<ReadBuffer> in;
|
||||
|
||||
// Used in case of POST request with form-data, but it not to be expectd to be deleted after that scope
|
||||
std::string full_query = "";
|
||||
std::string full_query;
|
||||
|
||||
/// Support for "external data for query processing".
|
||||
if (startsWith(request.getContentType().data(), "multipart/form-data"))
|
||||
@ -441,7 +441,6 @@ void HTTPHandler::processQuery(
|
||||
}
|
||||
in = std::make_unique<ReadBufferFromString>(full_query);
|
||||
|
||||
|
||||
/// Erase unneeded parameters to avoid confusing them later with context settings or query
|
||||
/// parameters.
|
||||
for (const auto & it : handler.names)
|
||||
|
Loading…
Reference in New Issue
Block a user