From a0ace3e94ad87dde64d1fdc309531cb4ec718839 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 6 Mar 2020 00:50:58 +0300 Subject: [PATCH] Fixed error --- dbms/src/Interpreters/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/Context.cpp b/dbms/src/Interpreters/Context.cpp index 145c9c84ae0..dbc963e0a27 100644 --- a/dbms/src/Interpreters/Context.cpp +++ b/dbms/src/Interpreters/Context.cpp @@ -220,7 +220,7 @@ private: } /// Close sessions, that has been expired. Returns how long to wait for next session to be expired, if no new sessions will be added. - std::chrono::steady_clock::duration closeSessions(std::unique_lock &) + std::chrono::steady_clock::duration closeSessions(std::unique_lock & lock) { const auto now = std::chrono::steady_clock::now();