• unknown's avatar
    Bug#24988 FLUSH PRIVILEGES causes brief unavailability · 416122b2
    unknown authored
    - A race condition caused brief unavailablility when trying to acccess
      a table. 
    - The variable 'grant_option' was removed to resolve the race condition and
      to simplify the design pattern. This flag was originally intended to optimize
      grant checks.
    
    
    sql/mysql_priv.h:
      - removed 'grant_option' flag.
    sql/sql_acl.cc:
      - removed 'grant_option' flag.
    sql/sql_db.cc:
      - removed 'grant_option' flag.
    sql/sql_insert.cc:
      - removed 'grant_option' flag.
    sql/sql_parse.cc:
      - removed 'grant_option' flag.
      - removed unnecessary variables found_access, found
    sql/sql_show.cc:
      - removed 'grant_option' flag.
    sql/sql_update.cc:
      - removed 'grant_option' flag.
    sql/sql_view.cc:
      - removed 'grant_option' flag.
    416122b2
sql_show.cc 199 KB