Fixed error #245

This commit is contained in:
Alexey Milovidov 2018-03-10 02:50:20 +03:00
parent c653759714
commit 3fa72379bb

View File

@ -427,6 +427,7 @@ void LocalServer::processQueries()
throw Exception("Cannot parse and execute the following part of query: " + String(parse_res.first), ErrorCodes::SYNTAX_ERROR);
context->setUser("default", "", Poco::Net::SocketAddress{}, "");
context->setCurrentQueryId("");
for (const auto & query : queries)
{