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

Function my_hash_free

mysys/hash.c:150–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148*/
149
150void my_hash_free(HASH *hash)
151{
152 DBUG_ENTER("my_hash_free");
153 DBUG_PRINT("enter",("hash: 0x%lx", (long) hash));
154
155 my_hash_free_elements(hash);
156 hash->free= 0;
157 delete_dynamic(&hash->array);
158 hash->blength= 0;
159 DBUG_VOID_RETURN;
160}
161
162
163/*

Callers 15

mysql_close_free_optionsFunction · 0.85
mysql_optionsFunction · 0.85
~sp_headMethod · 0.85
ignore_db_dirs_freeFunction · 0.85
item_create_cleanupFunction · 0.85
sys_var_endFunction · 0.85
~Hash_setMethod · 0.85
my_dboptions_cache_freeFunction · 0.85
my_dbopt_cleanupFunction · 0.85
~Statement_mapMethod · 0.85
~hash_filoMethod · 0.85

Calls 2

my_hash_free_elementsFunction · 0.85
delete_dynamicFunction · 0.85

Tested by

no test coverage detected