mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
ISSUES-4006 fix empty gtid format when sets parse
This commit is contained in:
parent
a78604db2b
commit
30b8159bb0
@ -22,6 +22,11 @@ void GTIDSet::tryMerge(size_t i)
|
||||
|
||||
void GTIDSets::parse(const String gtid_format)
|
||||
{
|
||||
if (gtid_format.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<String> gtid_sets;
|
||||
boost::split(gtid_sets, gtid_format, [](char c) { return c == ','; });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user