• Staale Smedseng's avatar
    Bug#46261 Plugins can be installed with --skip-grant-tables · 20c91775
    Staale Smedseng authored
    Previously installed dynamic plugins are explicitly not loaded
    on startup with --skip-grant-tables enabled. However, INSTALL
    PLUGIN/UNINSTALL PLUGIN commands are allowed, and result in
    inconsistent error messages (reporting duplicate plugin or
    plugin does not exist).
    
    This patch adds a check for --skip-grant-tables mode, and
    returns error ER_OPTION_PREVENTS_STATEMENT to the user when
    the above commands are attempted.
    20c91775
bug46261-master.opt 40 Bytes