mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
10 lines
299 B
C++
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))
|
|
{
|
|
}
|
|
}
|