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
This commit is contained in:
unknown 2005-04-27 17:05:15 -07:00
parent 1faa742b86
commit 8c0f1e89c0

View File

@ -449,7 +449,7 @@ static int check_for_max_user_connections(THD *thd, USER_CONN *uc)
uc->user_resources.connections <= uc->conn_per_hour)
{
net_printf(thd, ER_USER_LIMIT_REACHED, uc->user,
"max_connections",
"max_connections_per_hour",
(long) uc->user_resources.connections);
error=1;
goto end;