summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-04-27 17:05:15 -0700
committerunknown <jimw@mysql.com>2005-04-27 17:05:15 -0700
commit8c0f1e89c0c68b07c9e065c7e3ae409f5d963243 (patch)
tree4198c14dac8d52bbc6ec4bf86bb129fc9e050d7d
parent1faa742b86727245ad07e150be19670033adeee7 (diff)
downloadmariadb-git-8c0f1e89c0c68b07c9e065c7e3ae409f5d963243.tar.gz
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
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 49110e02113..c5b429ec8fc 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -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;