Commit 8c0f1e89 authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;