|
|
|
@ -3221,8 +3221,8 @@ enum open_frm_error open_table_from_share(THD *thd, TABLE_SHARE *share, |
|
|
|
if (++i < records) |
|
|
|
record+= share->rec_buff_length; |
|
|
|
} |
|
|
|
MEM_UNDEFINED(outparam->record[0], share->reclength); |
|
|
|
MEM_UNDEFINED(outparam->record[1], share->reclength); |
|
|
|
for (i= 0; i < records; i++) |
|
|
|
MEM_UNDEFINED(outparam->record[i], share->reclength); |
|
|
|
|
|
|
|
if (!(field_ptr = (Field **) alloc_root(&outparam->mem_root, |
|
|
|
(uint) ((share->fields+1)* |
|
|
|
|