• Konstantin Osipov's avatar
    Backport of: · 69150fac
    Konstantin Osipov authored
    ----------------------------------------------------------
    revno: 2617.23.20
    committer: Konstantin Osipov <kostja@sun.com>
    branch nick: mysql-6.0-runtime
    timestamp: Wed 2009-03-04 16:31:31 +0300
    message:
      WL#4284 "Transactional DDL locking"
      Review comments: "Objectify" the MDL API.
      MDL_request and MDL_context still need manual construction and
      destruction, since they are used in environment that is averse
      to constructors/destructors.
    
    
    sql/mdl.cc:
      Improve comments.
      Add asserts to backup()/restore_from_backup()/merge() methods.
      Fix an order bug in the error path of mdl_acquire_exclusive_locks():
      we used to first free a ticket object, and only then exclude
      it from the list of tickets.
    69150fac
sp_head.cc 105 KB