mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
more debug info
This commit is contained in:
parent
70dfcdac8d
commit
60cb84d417
@ -1390,6 +1390,9 @@ private:
|
|||||||
{
|
{
|
||||||
fmt::print(stderr, "The query formatting is broken. Got the following (different) text after formatting the fuzzed query and parsing it back:\n'{}'\n, expected:\n'{}'\n",
|
fmt::print(stderr, "The query formatting is broken. Got the following (different) text after formatting the fuzzed query and parsing it back:\n'{}'\n, expected:\n'{}'\n",
|
||||||
formatted_twice, fuzzed_text);
|
formatted_twice, fuzzed_text);
|
||||||
|
fmt::print(stderr, "AST parsed back:\n'{}'\nSource AST:\n'{}'\n",
|
||||||
|
parsed_formatted_query->dumpTree(),
|
||||||
|
ast_to_process->dumpTree());
|
||||||
|
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user