mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
amend comment on hilite equality
This commit is contained in:
parent
cf057013ed
commit
a862973f14
@ -98,7 +98,7 @@ bool are_equal_with_hilites_removed(std::string_view left, std::string_view righ
|
|||||||
/*
|
/*
|
||||||
* Hilited queries cannot be compared symbol-by-symbol, as there's some frivolousness introduced with the hilites. Specifically:
|
* Hilited queries cannot be compared symbol-by-symbol, as there's some frivolousness introduced with the hilites. Specifically:
|
||||||
* 1. Whitespaces could be hilited with any hilite type.
|
* 1. Whitespaces could be hilited with any hilite type.
|
||||||
* 2. Hilite could or could be not reset with hilite_none before the next hilite, i.e. strings a and b are equal.
|
* 2. Hilite could or could be not reset with hilite_none before the next hilite, i.e. the following strings a and b are equal:
|
||||||
* a. hilite_keyword foo hilite_none hilite_operator +
|
* a. hilite_keyword foo hilite_none hilite_operator +
|
||||||
* b. hilite_keyword foo hilite_operator +
|
* b. hilite_keyword foo hilite_operator +
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user