提交 d5a002f4 编写于 作者: A Alexey Milovidov

Using internal boost library [#METR-2944].

上级 d605bfdc
......@@ -1827,7 +1827,7 @@ void StorageReplicatedMergeTree::removePartAndEnqueueFetch(const String & part_n
auto results = zookeeper->multi(ops);
String path_created = dynamic_cast<zkutil::Op::Create &>(ops[0]).getPathCreated();
String path_created = dynamic_cast<zkutil::Op::Create &>(*ops[0]).getPathCreated();
log_entry->znode_name = path_created.substr(path_created.find_last_of('/') + 1);
queue.insert(zookeeper, log_entry);
}
......@@ -2772,7 +2772,7 @@ void StorageReplicatedMergeTree::attachPartition(ASTPtr query, const Field & fie
size_t i = 0;
for (LogEntry & entry : entries)
{
String log_znode_path = dynamic_cast<zkutil::Op::Create &>(ops[i]).getPathCreated();
String log_znode_path = dynamic_cast<zkutil::Op::Create &>(*ops[i]).getPathCreated();
entry.znode_name = log_znode_path.substr(log_znode_path.find_last_of('/') + 1);
if (settings.replication_alter_partitions_sync == 1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册