![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
Base class to find out if the lock represented by a given ticket should be released. More...
#include <mdl.h>
Public Member Functions | |
| virtual | ~MDL_release_locks_visitor ()=default | 
| virtual bool | release (MDL_ticket *ticket)=0 | 
| Check if the given ticket represents a lock that should be released.  More... | |
Base class to find out if the lock represented by a given ticket should be released.
Users of release_locks() need to subclass this and specify an implementation of release(). Only for locks with explicit duration.
      
  | 
  virtualdefault | 
      
  | 
  pure virtual | 
Check if the given ticket represents a lock that should be released.
| true | if the lock should be released, false otherwise. | 
Implemented in Release_acl_cache_locks, Release_all_locking_service_locks, Release_locking_service_locks, and Release_all_backup_locks.