mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
done
This commit is contained in:
parent
a31663a75d
commit
b6d69eb63b
@ -427,7 +427,7 @@ struct TestKeeperStorageMultiRequest final : public TestKeeperStorageRequest
|
||||
|
||||
for (const auto & sub_request : request.requests)
|
||||
{
|
||||
auto sub_zk_request = dynamic_pointer_cast<Coordination::ZooKeeperRequest>(sub_request);
|
||||
auto sub_zk_request = std::dynamic_pointer_cast<Coordination::ZooKeeperRequest>(sub_request);
|
||||
if (sub_zk_request->getOpNum() == Coordination::OpNum::Create)
|
||||
{
|
||||
concrete_requests.push_back(std::make_shared<TestKeeperStorageCreateRequest>(sub_zk_request));
|
||||
|
@ -178,7 +178,7 @@ static inline std::tuple<NamesAndTypesList, NamesAndTypesList, NamesAndTypesList
|
||||
if (const auto & function = index_expression->as<ASTFunction>())
|
||||
{
|
||||
/// column_name(int64 literal)
|
||||
if (columns_name_set.contains(function->name) && function->arguments->children.size() == 1)
|
||||
if (columns_name_set.count(function->name) && function->arguments->children.size() == 1)
|
||||
{
|
||||
const auto & prefix_limit = function->arguments->children[0]->as<ASTLiteral>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user