Skip to content
  • Georgi Kodinov's avatar
    be8ed41e
    Bug #21847825: NOT POSSIBLE TO USE ALTER USER WHEN RUNNING · be8ed41e
    Georgi Kodinov authored
      UNDER --SKIP-GRANT-TABLES
    
     When running in --skip-grant-tables the effective user for the
     session was set to ''@'' by Security_context::skip_grants().
    
     When you run FLUSH PRIVILEGES in one such session it starts
     accepting normal ACL commands, but since the session stays as
     as initialized during the --skip-grant-tables mode.
    
     ''@'' collides with the restriction that proxy users
     (user name '') cannot be setting passwords.
    
     Fixed by setting the effective user to
     "skip-grants user"@"skip-grants host" instead of ''@''.
    
     Added a test case.
     Fixed existing tests that were relying on the old value.
    be8ed41e
    Bug #21847825: NOT POSSIBLE TO USE ALTER USER WHEN RUNNING
    Georgi Kodinov authored
      UNDER --SKIP-GRANT-TABLES
    
     When running in --skip-grant-tables the effective user for the
     session was set to ''@'' by Security_context::skip_grants().
    
     When you run FLUSH PRIVILEGES in one such session it starts
     accepting normal ACL commands, but since the session stays as
     as initialized during the --skip-grant-tables mode.
    
     ''@'' collides with the restriction that proxy users
     (user name '') cannot be setting passwords.
    
     Fixed by setting the effective user to
     "skip-grants user"@"skip-grants host" instead of ''@''.
    
     Added a test case.
     Fixed existing tests that were relying on the old value.
Loading