mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Clean up error message for connections-per-hour user limit
being exceeded. (Bug #9947)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user