summaryrefslogtreecommitdiff
path: root/sql/sql_connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_connect.h')
-rw-r--r--sql/sql_connect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_connect.h b/sql/sql_connect.h
index bfcc04ba093..666db4c6462 100644
--- a/sql/sql_connect.h
+++ b/sql/sql_connect.h
@@ -43,5 +43,8 @@ int check_user(THD *thd, enum enum_server_command command,
bool login_connection(THD *thd);
void prepare_new_connection_state(THD* thd);
void end_connection(THD *thd);
+int get_or_create_user_conn(THD *thd, const char *user,
+ const char *host, const USER_RESOURCES *mqh);
+int check_for_max_user_connections(THD *thd, USER_CONN *uc);
#endif /* SQL_CONNECT_INCLUDED */