mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
Fix changes with master
This commit is contained in:
parent
1aa6266c56
commit
96a1cb4a79
@ -38,11 +38,8 @@ struct Expected
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (current_pos == max_parsed_pos)
|
if ((current_pos == max_parsed_pos) && (std::find(variants.begin(), variants.end(), description) == variants.end()))
|
||||||
{
|
variants.push_back(description);
|
||||||
if ((current_pos == max_parsed_pos) && (std::find(variants.begin(), variants.end(), description) == variants.end()))
|
|
||||||
variants.push_back(description);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ALWAYS_INLINE void add(TokenIterator it, const char * description)
|
ALWAYS_INLINE void add(TokenIterator it, const char * description)
|
||||||
|
Loading…
Reference in New Issue
Block a user