提交 55f6e9ec 编写于 作者: A Alexey Milovidov

dbms: addition [#METR-18410].

上级 a06096f7
......@@ -650,7 +650,7 @@ ZooKeeper::GetFuture ZooKeeper::asyncGet(const std::string & path)
if (value_len > 0) /// Может быть не так, если в ZK лежит NULL. Мы не отличаем его от пустой строки.
value_str = { value, size_t(value_len) };
return ValueAndStat{ value_str, *stat };
return ValueAndStat{ value_str, stat ? *stat : Stat() };
}};
int32_t code = zoo_aget(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册