diff options
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index a3dcf69d2f2..7728620fb63 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -738,7 +738,7 @@ static bool pack_header(THD *thd, uchar *forminfo, (const char **) thd->alloc(sizeof(char*) * (field->interval->count+1)); tmpint->type_lengths= - (uint *) thd->alloc(sizeof(uint) * field->interval->count); + (uint *) thd->alloc(sizeof(uint) * field->interval->count+1); tmpint->type_names[field->interval->count]= 0; tmpint->type_lengths[field->interval->count]= 0; |