Merge mysql.com:/home/svoj/devel/mysql/BUG24358/mysql-5.0-engines

into  mysql.com:/home/svoj/devel/mysql/BUG24358/mysql-5.1-engines
This commit is contained in:
svoj@june.mysql.com 2006-12-27 17:10:52 +04:00
commit e0a433e1ce

View File

@ -786,6 +786,8 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
memcpy(comment_pos, disk_buff+read_length-com_length, com_length);
fix_type_pointers(&interval_array, &share->fieldnames, 1, &names);
if (share->fieldnames.count != share->fields)
goto err;
fix_type_pointers(&interval_array, share->intervals, interval_count,
&names);