summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2013-10-18 06:34:07 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-18 06:34:07 -0700
commitf2ab661999005310cb71c43e9bfa6b57ab5875de (patch)
tree1350567e4fdd45e2dcc6df3d9b0d3dfe93dc4f5c /sql/sql_lex.h
parent34366918997ccdcfeb0c8c4623318c3546a9f4b3 (diff)
downloadmariadb-git-f2ab661999005310cb71c43e9bfa6b57ab5875de.tar.gz
Added SHOW GRANTS recursive role print.
The output is not completely correct due to recursive role grants not being completly implemented. However, this will help with testing the implementation of set role with recursive grants.
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 293081c21db..1c1e5520a4f 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -146,6 +146,7 @@ enum enum_sql_command {
SQLCOM_SHOW_GRANTS, SQLCOM_SHOW_CREATE, SQLCOM_SHOW_CHARSETS,
SQLCOM_SHOW_COLLATIONS, SQLCOM_SHOW_CREATE_DB, SQLCOM_SHOW_TABLE_STATUS,
SQLCOM_SHOW_TRIGGERS,
+ SQLCOM_SHOW_GRANTS_SELF,
SQLCOM_LOAD,SQLCOM_SET_OPTION,SQLCOM_LOCK_TABLES,SQLCOM_UNLOCK_TABLES,
SQLCOM_GRANT, SQLCOM_GRANT_ROLE,