summaryrefslogtreecommitdiff
path: root/sql/sql_parse.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-25 19:08:55 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-11 18:53:05 +0200
commit3182938d22b705d616b83d83dd72c31f24bc365f (patch)
treee19a2418f4ad49ddcc7db11ac300d9d45e44f455 /sql/sql_parse.h
parentdb8af31831beb949dfcf7675b3c6392dc52dc38c (diff)
downloadmariadb-git-3182938d22b705d616b83d83dd72c31f24bc365f.tar.gz
move userstat tables to a plugin
Diffstat (limited to 'sql/sql_parse.h')
-rw-r--r--sql/sql_parse.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/sql_parse.h b/sql/sql_parse.h
index 3bbddc8ba4d..da024a5e746 100644
--- a/sql/sql_parse.h
+++ b/sql/sql_parse.h
@@ -148,15 +148,6 @@ inline bool check_identifier_name(LEX_STRING *str)
return check_identifier_name(str, NAME_CHAR_LEN, 0, "");
}
-
-/*
- check_access() is needed for the connect engine.
- It cannot be inlined - it must be exported.
-*/
-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);
-
#ifndef NO_EMBEDDED_ACCESS_CHECKS
bool check_one_table_access(THD *thd, ulong privilege, TABLE_LIST *tables);
bool check_single_table_access(THD *thd, ulong privilege,
@@ -194,8 +185,4 @@ check_table_access(THD *thd, ulong requirements,TABLE_LIST *tables,
{ return false; }
#endif /*NO_EMBEDDED_ACCESS_CHECKS*/
-/* These were under the INNODB_COMPATIBILITY_HOOKS */
-
-bool check_global_access(THD *thd, ulong want_access, bool no_errors= false);
-
#endif /* SQL_PARSE_INCLUDED */