• Sergei Golubchik's avatar
    MDEV-9273 ERROR 1819 on grant statment for existing user · 68910e70
    Sergei Golubchik authored
    Cannot do password validation in fix_lex_user(), we don't know
    there what "GRANT ... TO user" means - creating a new user with
    an empty password (need validation) or granting privileges
    to an existing user (no validation needed).
    
    Move validation down into replace_user_table(). And copy into
    check_change_password().
    68910e70
simple_password_check.result 6.62 KB