Commit 8c0f1e89 authored by unknown's avatar unknown

Clean up error message for connections-per-hour user limit

being exceeded. (Bug #9947)


sql/sql_parse.cc:
  Fix error message when connections per hour has been exceeded
parent 1faa742b
...@@ -449,7 +449,7 @@ static int check_for_max_user_connections(THD *thd, USER_CONN *uc) ...@@ -449,7 +449,7 @@ static int check_for_max_user_connections(THD *thd, USER_CONN *uc)
uc->user_resources.connections <= uc->conn_per_hour) uc->user_resources.connections <= uc->conn_per_hour)
{ {
net_printf(thd, ER_USER_LIMIT_REACHED, uc->user, net_printf(thd, ER_USER_LIMIT_REACHED, uc->user,
"max_connections", "max_connections_per_hour",
(long) uc->user_resources.connections); (long) uc->user_resources.connections);
error=1; error=1;
goto end; goto end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment