mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge pull request #53031 from azat/clickhouse-keeper-client-set-version-fix
clickhouse-keeper-client: fix version parsing for set command
This commit is contained in:
commit
b2055d466e
@ -77,7 +77,7 @@ void SetCommand::execute(const ASTKeeperQuery * query, KeeperClient * client) co
|
|||||||
client->zookeeper->set(
|
client->zookeeper->set(
|
||||||
client->getAbsolutePath(query->args[0].safeGet<String>()),
|
client->getAbsolutePath(query->args[0].safeGet<String>()),
|
||||||
query->args[1].safeGet<String>(),
|
query->args[1].safeGet<String>(),
|
||||||
static_cast<Int32>(query->args[2].safeGet<Int64>()));
|
static_cast<Int32>(query->args[2].get<Int32>()));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CreateCommand::parse(IParser::Pos & pos, std::shared_ptr<ASTKeeperQuery> & node, Expected & expected) const
|
bool CreateCommand::parse(IParser::Pos & pos, std::shared_ptr<ASTKeeperQuery> & node, Expected & expected) const
|
||||||
|
Loading…
Reference in New Issue
Block a user