mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Update src/Interpreters/Session.cpp
Co-authored-by: alesapin <alesapin@clickhouse.com>
This commit is contained in:
parent
17e1c6be8e
commit
be4884d07a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user