• Konstantin Osipov's avatar
    Backport of: · de1979d3
    Konstantin Osipov authored
    ------------------------------------------------------------
    revno: 2630.4.10
    committer: Dmitry Lenev <dlenev@mysql.com>
    branch nick: mysql-6.0-3726-w
    timestamp: Mon 2008-05-26 15:11:26 +0400
    message:
      WL#3726 "DDL locking for all metadata objects".
    
      After review changes in progress.
      Implemented some renames suggested by reviewer.
    
    
    sql/mdl.cc:
      Renamed:
        MDL_LOCK_DATA::users -> lock_count
        MDL_LOCK_DATA::has_no_other_users() -> has_one_lock()
        MDL_LOCK::upgradable -> is_upgradable
        Moved variables used in global metadata lock implementation
        to separate strucuture.
    sql/mdl.h:
      Renamed MDL_LOCK::upgradable to is_upgradable.
    de1979d3
mdl.cc 38.8 KB