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

Function my_dboptions_cache_free

sql/sql_db.cc:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134*/
135
136void my_dboptions_cache_free(void)
137{
138 if (dboptions_init)
139 {
140 dboptions_init= 0;
141 my_hash_free(&dboptions);
142 mysql_rwlock_destroy(&LOCK_dboptions);
143 }
144}
145
146
147/**

Callers 1

clean_upFunction · 0.85

Calls 1

my_hash_freeFunction · 0.85

Tested by

no test coverage detected