• Konstantin Osipov's avatar
    Backport of: · cf4a4ba6
    Konstantin Osipov authored
    ```---------------------------------------------------------
    revno: 2630.9.3
    committer: Dmitry Lenev <dlenev@mysql.com>
    branch nick: mysql-6.0-3726-w3
    timestamp: Wed 2008-06-11 08:33:36 +0400
    message:
      WL#3726 "DDL locking for all metadata objects".
    
      After review fixes in progress.
    
      Changed close_cached_tables() not to flush all unused TABLE
      instances when flushing individual table.
      Renamed expel_table_from_cache() to tdc_remove_table() and
      added enum parameter to be able more explicitly specify type
      of removal, rewrote its code to be more efficient.
    
    ******
    Backport of:
    ```
    
    ---------------------------------------------------------
    revno: 2630.9.4
    committer: Dmitry Lenev <dlenev@mysql.com>
    branch nick: mysql-6.0-3726-w3
    timestamp: Wed 2008-06-11 15:53:53 +0400
    message:
      WL#3726 "DDL locking for all metadata objects".
    
      After-review fixes in progress.
    
      Minor changes in order to improve code readability
      and simplify debugging.
    cf4a4ba6
sql_base.cc 285 KB