mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
17 lines
308 B
C++
17 lines
308 B
C++
#include <Processors/QueryPlan/QueryIdHolder.h>
|
|
#include <Storages/MergeTree/MergeTreeData.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
QueryIdHolder::QueryIdHolder(const String & query_id_, const MergeTreeData & data_) : query_id(query_id_), data(data_)
|
|
{
|
|
}
|
|
|
|
QueryIdHolder::~QueryIdHolder()
|
|
{
|
|
data.removeQueryId(query_id);
|
|
}
|
|
|
|
}
|