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

Function tc_purge

sql/table_cache.cc:318–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316
317
318void tc_purge()
319{
320 Share_free_tables::List purge_tables;
321
322 tdc_iterate(0, tc_purge_callback, &purge_tables);
323 while (auto table= purge_tables.pop_front())
324 intern_close_table(table);
325}
326
327
328/**

Callers 4

handle_managerFunction · 0.85
backup_flushFunction · 0.85
fix_table_open_cacheFunction · 0.85
purge_tablesFunction · 0.85

Calls 3

tdc_iterateFunction · 0.85
intern_close_tableFunction · 0.85
pop_frontMethod · 0.45

Tested by

no test coverage detected