mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
Update ZooKeeper.cpp
This commit is contained in:
parent
e2a8526990
commit
4f86ec9d58
@ -455,7 +455,7 @@ bool ZooKeeper::existsWatch(const std::string & path, Stat * stat_, const WatchC
|
||||
int32_t ZooKeeper::getImpl(const std::string & path, std::string & res, Stat * stat_, WatchCallback watch_callback)
|
||||
{
|
||||
std::vector<char> buffer;
|
||||
buffer.reserve(MAX_NODE_SIZE);
|
||||
buffer.resize(MAX_NODE_SIZE);
|
||||
int buffer_len = MAX_NODE_SIZE;
|
||||
|
||||
int32_t code;
|
||||
|
Loading…
Reference in New Issue
Block a user