ClickHouse/src/Storages/MergeTree/ZeroCopyLock.cpp
2023-05-03 21:28:33 +02:00

10 lines
299 B
C++

#include "ZeroCopyLock.h"
namespace DB
{
ZeroCopyLock::ZeroCopyLock(const zkutil::ZooKeeperPtr & zookeeper, const std::string & lock_path, const std::string & lock_message)
: lock(zkutil::createSimpleZooKeeperLock(zookeeper, lock_path, ZERO_COPY_LOCK_NAME, lock_message))
{
}
}