Skip to content

Commit

Permalink
Merge pull request #3619 from amosbird/nit
Browse files Browse the repository at this point in the history
Remove redundant query context attachment
  • Loading branch information
alexey-milovidov committed Nov 20, 2018
2 parents a41485f + ab88212 commit 3d7c78c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dbms/programs/server/HTTPHandler.cpp
Expand Up @@ -270,7 +270,6 @@ void HTTPHandler::processQuery(
std::string query_id = params.get("query_id", "");
context.setUser(user, password, request.clientAddress(), quota_key);
context.setCurrentQueryId(query_id);
CurrentThread::attachQueryContext(context);

/// The user could specify session identifier and session timeout.
/// It allows to modify settings, create temporary tables and reuse them in subsequent requests.
Expand Down

0 comments on commit 3d7c78c

Please sign in to comment.