From 1ff1cb10fc236010b5969058cab934c2b306c931 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 6 Jun 2013 17:38:07 +0200 Subject: [PATCH] fix compile error --- sql/sql_acl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index 4fe99b24508..69290a64a29 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -968,7 +968,7 @@ static my_bool acl_load(THD *thd, TABLE_LIST *tables) { /* Starting from 5.0.3 we have max_user_connections field */ ptr= get_field(thd->mem_root, table->field[next_field++]); - user.user_resource.user_conn= ptr ? atoll(ptr) : 0; + user.user_resource.user_conn= ptr ? atoi(ptr) : 0; } if (table->s->fields >= 41)