mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fixed PVS warning
This commit is contained in:
parent
e72ec27d5b
commit
0ad7f9bba2
@ -252,8 +252,6 @@ Session::Session(const ContextPtr & global_context_, ClientInfo::Interface inter
|
|||||||
prepared_client_info->interface = interface_;
|
prepared_client_info->interface = interface_;
|
||||||
}
|
}
|
||||||
|
|
||||||
Session::Session(Session &&) = default;
|
|
||||||
|
|
||||||
Session::~Session()
|
Session::~Session()
|
||||||
{
|
{
|
||||||
LOG_DEBUG(log, "{} Destroying {} of user {}",
|
LOG_DEBUG(log, "{} Destroying {} of user {}",
|
||||||
|
@ -33,9 +33,10 @@ public:
|
|||||||
static void shutdownNamedSessions();
|
static void shutdownNamedSessions();
|
||||||
|
|
||||||
Session(const ContextPtr & global_context_, ClientInfo::Interface interface_);
|
Session(const ContextPtr & global_context_, ClientInfo::Interface interface_);
|
||||||
Session(Session &&);
|
|
||||||
~Session();
|
~Session();
|
||||||
|
|
||||||
|
Session(const Session &&) = delete;
|
||||||
|
Session& operator=(const Session &&) = delete;
|
||||||
Session(const Session &) = delete;
|
Session(const Session &) = delete;
|
||||||
Session& operator=(const Session &) = delete;
|
Session& operator=(const Session &) = delete;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user