mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
add explicit finalize calls
This commit is contained in:
parent
ae08fb2019
commit
047f656980
@ -1244,7 +1244,7 @@ void QueryFuzzer::fuzzMain(ASTPtr & ast)
|
||||
std::cout << std::endl;
|
||||
WriteBufferFromOStream ast_buf(std::cout, 4096);
|
||||
formatAST(*ast, ast_buf, false /*highlight*/);
|
||||
ast_buf.next();
|
||||
ast_buf.finalize();
|
||||
std::cout << std::endl << std::endl;
|
||||
}
|
||||
|
||||
|
@ -40,5 +40,5 @@ TEST(CreateTableParser, SS)
|
||||
ASTPtr ast = parseQuery(p_create_query, input.data(), input.data() + input.size(), "", 0, 0);
|
||||
WriteBufferFromOStream buf(std::cerr, 4096);
|
||||
ast->dumpTree(buf);
|
||||
|
||||
buf.finalize();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user