fix compile error

This commit is contained in:
Vladislav Vaintroub 2013-06-06 17:38:07 +02:00
parent 5cf5a9a1e8
commit 1ff1cb10fc

View File

@ -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)