MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / sql_parser_cleanup

Function sql_parser_cleanup

sql/mysqld.cc:2029–2036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2027}
2028
2029int sql_parser_cleanup()
2030{
2031 thd->end_statement();
2032 thd->cleanup_after_query();
2033 free_root(thd->mem_root,MYF(MY_KEEP_PREALLOC));
2034 DBUG_ASSERT(thd->change_list.is_empty());
2035 return 0;
2036}
2037
2038int mysqld_cleanup() {
2039 clean_up(1);

Callers 1

mainFunction · 0.85

Calls 4

free_rootFunction · 0.85
cleanup_after_queryMethod · 0.80
end_statementMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected