diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-08-25 19:08:55 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-11 18:53:05 +0200 |
commit | 3182938d22b705d616b83d83dd72c31f24bc365f (patch) | |
tree | e19a2418f4ad49ddcc7db11ac300d9d45e44f455 /sql/sql_acl.h | |
parent | db8af31831beb949dfcf7675b3c6392dc52dc38c (diff) | |
download | mariadb-git-3182938d22b705d616b83d83dd72c31f24bc365f.tar.gz |
move userstat tables to a plugin
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 7833fb8736b..28eb7a7f933 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -235,6 +235,10 @@ bool check_grant_all_columns(THD *thd, ulong want_access, bool check_grant_routine(THD *thd, ulong want_access, TABLE_LIST *procs, bool is_proc, bool no_error); bool check_grant_db(THD *thd,const char *db); +bool check_global_access(THD *thd, ulong want_access, bool no_errors= false); +bool check_access(THD *thd, ulong want_access, const char *db, ulong *save_priv, + GRANT_INTERNAL_INFO *grant_internal_info, + bool dont_check_global_grants, bool no_errors); ulong get_table_grant(THD *thd, TABLE_LIST *table); ulong get_column_grant(THD *thd, GRANT_INFO *grant, const char *db_name, const char *table_name, @@ -263,10 +267,6 @@ int fill_schema_table_privileges(THD *thd, TABLE_LIST *tables, COND *cond); int fill_schema_column_privileges(THD *thd, TABLE_LIST *tables, COND *cond); int wild_case_compare(CHARSET_INFO *cs, const char *str,const char *wildstr); int check_password_policy(String *password); -#ifdef NO_EMBEDDED_ACCESS_CHECKS -#define check_grant(A,B,C,D,E,F) 0 -#define check_grant_db(A,B) 0 -#endif /** Result of an access check for an internal schema or table. |