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

Function drop_server

sql/sql_servers.cc:767–773  ·  view source on GitHub ↗

Drop a server with servers cache mutex lock. */

Source from the content-addressed store, hash-verified

765 Drop a server with servers cache mutex lock.
766*/
767int 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/*

Callers 1

sql_parse.ccFile · 0.85

Calls 1

drop_server_internalFunction · 0.85

Tested by

no test coverage detected