Go to the source code of this file.
◆ my_connection_handler_reset()
      
        
          | int my_connection_handler_reset  | 
          ( | 
           | ) | 
           | 
        
      
 
Destroys the current connection handler and restores the previous. 
Should only be called after calling my_connection_handler_set().
- Return values
 - 
  
  
 
 
 
◆ my_connection_handler_set()
Instantiates Plugin_connection_handler based on the supplied Conection_handler_functions and sets it as the current connection handler. 
Also sets the THD_event_functions functions which will be called by the server when e.g. beginning a wait.
Remembers the existing connection handler so that it can be restored later.
- Parameters
 - 
  
    | chf | struct with functions to be called when e.g. handling new clients.  | 
    | tef | struct with functions to be called when events (e.g. lock wait) happens. | 
  
   
- Note
 - Both pointers (i.e. not the structs themselves) will be copied, so the structs must not disappear.
 
- 
We don't support dynamically loading more than one connection handler.
 
- Return values
 - 
  
  
 
 
 
◆ my_thread_scheduler_service