diff --git a/sql/table.cc b/sql/table.cc index 27a8c87a07a..549814a57bc 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -3221,7 +3221,7 @@ enum open_frm_error open_table_from_share(THD *thd, TABLE_SHARE *share, if (++i < records) record+= share->rec_buff_length; } - for (uint i= 0; i < records; i++) + for (i= 0; i < records; i++) MEM_UNDEFINED(outparam->record[i], share->reclength); if (!(field_ptr = (Field **) alloc_root(&outparam->mem_root,