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

Method restart

sql/sql_profile.cc:343–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341*/
342
343void PROFILING::restart()
344{
345 while (! history.is_empty())
346 delete history.pop();
347
348 if (current != NULL)
349 delete current;
350 /* Ensure that profiling object can be reused */
351 profile_id_counter= 1;
352 current= NULL;
353 last= NULL;
354}
355
356
357/**

Callers 2

free_connectionMethod · 0.45
count_sliceMethod · 0.45

Calls 2

is_emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected