| 149 | */ |
| 150 | |
| 151 | void my_dbopt_cleanup(void) |
| 152 | { |
| 153 | mysql_rwlock_wrlock(&LOCK_dboptions); |
| 154 | my_hash_free(&dboptions); |
| 155 | my_hash_init(&dboptions, lower_case_table_names ? |
| 156 | &my_charset_bin : system_charset_info, |
| 157 | 32, 0, 0, (my_hash_get_key) dboptions_get_key, |
| 158 | free_dbopt,0); |
| 159 | mysql_rwlock_unlock(&LOCK_dboptions); |
| 160 | } |
| 161 | |
| 162 | |
| 163 | /* |
nothing calls this directly
no test coverage detected