diff options
author | ingo@mysql.com <> | 2004-11-25 21:55:49 +0100 |
---|---|---|
committer | ingo@mysql.com <> | 2004-11-25 21:55:49 +0100 |
commit | cb53411b47340abc64bfe1bbf1c76dc4bdd4c031 (patch) | |
tree | fb57792268eee09ca036d97f725d13e2067dc42d /sql/sql_acl.h | |
parent | 538a3f7a53ad24e374b2ff979da6255261ecbb90 (diff) | |
download | mariadb-git-cb53411b47340abc64bfe1bbf1c76dc4bdd4c031.tar.gz |
WL#2050 - CREATE USER and DROP USER and RENAME USER
Added new commands CREATE USER and RENAME USER.
Changed behaviour of DROP USER.
Changed an error messages for the new commands.
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index f6074da5279..8f3ee072f43 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -182,7 +182,9 @@ ulong get_column_grant(THD *thd, GRANT_INFO *grant, bool mysql_show_grants(THD *thd, LEX_USER *user); void get_privilege_desc(char *to, uint max_length, ulong access); void get_mqh(const char *user, const char *host, USER_CONN *uc); +bool mysql_create_user(THD *thd, List <LEX_USER> &list); bool mysql_drop_user(THD *thd, List <LEX_USER> &list); +bool mysql_rename_user(THD *thd, List <LEX_USER> &list); bool mysql_revoke_all(THD *thd, List <LEX_USER> &list); void fill_effective_table_privileges(THD *thd, GRANT_INFO *grant, const char *db, const char *table); |