MCPcopy Create free account
hub / github.com/MariaDB/server / end_statement

Method end_statement

sql/sql_class.cc:4462–4476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4460}
4461
4462void THD::end_statement()
4463{
4464 DBUG_ENTER("THD::end_statement");
4465 /* Cleanup SQL processing state to reuse this statement in next query. */
4466 lex_end(lex);
4467 delete lex->result;
4468 lex->result= 0;
4469 /* Note that free_list is freed in cleanup_after_query() */
4470
4471 /*
4472 Don't free mem_root, as mem_root is freed in the end of dispatch_command
4473 (once for any command).
4474 */
4475 DBUG_VOID_RETURN;
4476}
4477
4478
4479/*

Callers 1

send_eofMethod · 0.45

Calls 1

lex_endFunction · 0.85

Tested by

no test coverage detected