• Konstantin Osipov's avatar
    A code review comment for Bug#52289. · e7854c86
    Konstantin Osipov authored
    Encapsulate the deadlock detection functionality into 
    a visitor class, and separate it from the wait-for graph
    traversal code.
    
    Use "Internal iterator" and "Visitor" patterns to 
    achieve the desired separation of responsibilities.
    
    Add comments.
    
    sql/mdl.cc:
      Encapsulate deadlock detection into a class.
    sql/mdl.h:
      Adjust for a rename of a class.
    e7854c86
mdl.h 24.1 KB