Update codegen_select_fuzzer.cpp

This commit is contained in:
Nikita Mikhaylov 2021-10-15 21:21:08 +03:00 committed by GitHub
parent ec188000b6
commit 882c876090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,8 @@ DEFINE_BINARY_PROTO_FUZZER(const Sentence& main)
std::cout << input << std::endl;
DB::ParserQueryWithOutput parser(input.data() + input.size());
try {
try
{
DB::ASTPtr ast = parseQuery(parser, input.data(), input.data() + input.size(), "", 0, 0);
DB::WriteBufferFromOStream out(std::cerr, 4096);