Fix for bug#37537: myisamchk fails with Assertion failure with partitioned table
Problem: missed "break" in a switch leads to unexpected assertion failure of 'myisamchk compressed_table'. Fix: add the break. storage/myisam/mi_check.c: Fix for bug#37537: myisamchk fails with Assertion failure with partitioned table In the record links check function (chk_data_link()) missed "break" for case COMPRESSED_RECORD was added.
This commit is contained in:
parent
67a3d9e4d0
commit
a233d7b851
@ -1211,6 +1211,7 @@ int chk_data_link(MI_CHECK *param, MI_INFO *info,int extend)
|
||||
param->glob_crc+= mi_checksum(info,record);
|
||||
link_used+= (block_info.filepos - start_recpos);
|
||||
used+= (pos-start_recpos);
|
||||
break;
|
||||
case BLOCK_RECORD:
|
||||
assert(0); /* Impossible */
|
||||
} /* switch */
|
||||
|
Loading…
x
Reference in New Issue
Block a user