mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user