Fix compilation

This commit is contained in:
Mikhail Filimonov 2020-10-21 22:16:13 +02:00
parent 748ff404f9
commit 67cbb55d63
No known key found for this signature in database
GPG Key ID: 6E49C2E9AF1220BE

View File

@ -337,7 +337,7 @@ void LocalServer::processQueries()
/// we can't mutate global context (due to possible races), so we can't reuse it safely as a query context /// we can't mutate global context (due to possible races), so we can't reuse it safely as a query context
/// so we need a copy here /// so we need a copy here
auto query_context = Context(context); auto query_context = Context(context.get());
query_context->makeSessionContext(); query_context->makeSessionContext();
query_context->makeQueryContext(); query_context->makeQueryContext();