• Konstantin Osipov's avatar
    Backport of: · ded46870
    Konstantin Osipov authored
    ------------------------------------------------------------
    revno: 2630.4.20
    committer: Dmitry Lenev <dlenev@mysql.com>
    branch nick: mysql-6.0-3726-w2
    timestamp: Wed 2008-06-04 16:27:06 +0400
    message:
      WL#3726 "DDL locking for all metadata objects"
    
      After review fixes in progress.
    
      Got rid of TABLE_LIST::mdl_upgradable member and related functions
      by using special flag which to be passed to open_table() which
      asks it to take upgradable metadata lock on table being opened.
    ded46870
sql_table.cc 253 KB