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

Function free_tmpdir

mysys/mf_tempdir.c:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void free_tmpdir(MY_TMPDIR *tmpdir)
86{
87 uint i;
88 if (!tmpdir->full_list.elements)
89 return;
90 for (i=0; i<=tmpdir->max; i++)
91 my_free(tmpdir->list[i]);
92 delete_dynamic(&tmpdir->full_list);
93 mysql_mutex_destroy(&tmpdir->mutex);
94}
95

Callers 1

clean_upFunction · 0.85

Calls 2

my_freeFunction · 0.85
delete_dynamicFunction · 0.85

Tested by

no test coverage detected