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

Function lf_alloc_destructor

sql/table_cache.cc:569–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567*/
568
569static void lf_alloc_destructor(uchar *arg)
570{
571 TDC_element *element= (TDC_element*) (arg + LF_HASH_OVERHEAD);
572 DBUG_ENTER("lf_alloc_destructor");
573 tdc_assert_clean_share(element);
574 mysql_cond_destroy(&element->COND_release);
575 mysql_mutex_destroy(&element->LOCK_table_share);
576 DBUG_VOID_RETURN;
577}
578
579
580static void tdc_hash_initializer(LF_HASH *,

Callers

nothing calls this directly

Calls 1

tdc_assert_clean_shareFunction · 0.85

Tested by

no test coverage detected