Drop a server with servers cache mutex lock. */
| 765 | Drop a server with servers cache mutex lock. |
| 766 | */ |
| 767 | int drop_server(THD *thd, LEX_SERVER_OPTIONS *server_options) |
| 768 | { |
| 769 | mysql_rwlock_wrlock(&THR_LOCK_servers); |
| 770 | int rc= drop_server_internal(thd, server_options); |
| 771 | mysql_rwlock_unlock(&THR_LOCK_servers); |
| 772 | return rc; |
| 773 | } |
| 774 | |
| 775 | |
| 776 | /* |
no test coverage detected