Update src/Interpreters/Session.cpp

Co-authored-by: alesapin <alesapin@clickhouse.com>
This commit is contained in:
Alexander Tokmakov 2023-03-21 17:39:40 +03:00 committed by GitHub
parent 17e1c6be8e
commit be4884d07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ public:
scheduleCloseSession(session, lock); scheduleCloseSession(session, lock);
} }
void releaseAnsCloseSession(const UUID & user_id, const String & session_id, std::shared_ptr<NamedSessionData> & session_data) void releaseAndCloseSession(const UUID & user_id, const String & session_id, std::shared_ptr<NamedSessionData> & session_data)
{ {
std::unique_lock lock(mutex); std::unique_lock lock(mutex);
scheduleCloseSession(*session_data, lock); scheduleCloseSession(*session_data, lock);