diff options
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc index 946dbc0766a..88f0cefc09a 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -461,6 +461,7 @@ int openfrm(THD *thd, const char *name, const char *alias, uint db_stat, field_length= (uint) strpos[3]; recpos= uint2korr(strpos+4), pack_flag= uint2korr(strpos+6); + pack_flag&= ~NO_DEFAULT_VALUE_FLAG; // Safety for old files unireg_type= (uint) strpos[8]; interval_nr= (uint) strpos[10]; |