• Robert Bindar's avatar
    MDEV-13095 Implement User Account locking · 6c8ce999
    Robert Bindar authored
    Add server support for user account locking.
    This patch extends the ALTER/CREATE USER statements for
    denying a user's subsequent login attempts:
      ALTER USER
        user [, user2] ACCOUNT [LOCK | UNLOCK]
      CREATE USER
        user [, user2] ACCOUNT [LOCK | UNLOCK]
    The SHOW CREATE USER statement was updated to display the
    locking state of an user.
    
    Closes #1006
    6c8ce999
sql_lex.h 147 KB