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

Method discard_current_query

sql/sql_profile.cc:361–369  ·  view source on GitHub ↗

Throw away the current profile, because it's useless or unwanted or corrupted. */

Source from the content-addressed store, hash-verified

359 or corrupted.
360*/
361void PROFILING::discard_current_query()
362{
363 DBUG_ENTER("PROFILING::discard_current_profile");
364
365 delete current;
366 current= NULL;
367
368 DBUG_VOID_RETURN;
369}
370
371/**
372 Try to save the current profile entry, clean up the data if it shouldn't be

Callers 3

executeMethod · 0.80
prepare_schema_tableFunction · 0.80
sql_parse.ccFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected