summaryrefslogtreecommitdiff
path: root/sql/lex.h
diff options
context:
space:
mode:
authorRobert Bindar <robert@mariadb.org>2019-02-13 20:02:42 +0100
committerSergei Golubchik <serg@mariadb.org>2019-02-14 17:30:22 +0100
commit6c8ce999f861c8c56edaf6b6e965c6c48bd9e37c (patch)
treeba71b52e8cb0182d2b54c57decf34a8fde0a2819 /sql/lex.h
parentd89cdfc2291560c1cd9bc55658584577d0ce5ef6 (diff)
downloadmariadb-git-6c8ce999f861c8c56edaf6b6e965c6c48bd9e37c.tar.gz
MDEV-13095 Implement User Account locking
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
Diffstat (limited to 'sql/lex.h')
-rw-r--r--sql/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/lex.h b/sql/lex.h
index 5ffe07fa415..bcb085279b3 100644
--- a/sql/lex.h
+++ b/sql/lex.h
@@ -55,6 +55,7 @@ static SYMBOL symbols[] = {
{ ">>", SYM(SHIFT_RIGHT)},
{ "<=>", SYM(EQUAL_SYM)},
{ "ACCESSIBLE", SYM(ACCESSIBLE_SYM)},
+ { "ACCOUNT", SYM(ACCOUNT_SYM)},
{ "ACTION", SYM(ACTION)},
{ "ADD", SYM(ADD)},
{ "ADMIN", SYM(ADMIN_SYM)},