aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Storages/MergeTree/ZeroCopyLock.cpp
blob: cca005dd7c06f6ec52ea2511651c5c92c29fd9e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
#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))
    {
    }
}