MCPcopy Create free account
hub / github.com/ByConity/ByConity / tryParserQuery

Function tryParserQuery

src/Parsers/MySQL/tests/gtest_alter_command_parser.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10using namespace DB::MySQLParser;
11
12static inline ASTPtr tryParserQuery(IParser & parser, const String & query) // -V1071
13{
14 return parseQuery(parser, query.data(), query.data() + query.size(), "", 0, 0);
15}
16
17TEST(ParserAlterCommand, AddAlterCommand)
18{

Callers 1

TESTFunction · 0.70

Calls 3

parseQueryFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected