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.
This commit is contained in:
parent
fb79a269c4
commit
5bafde319e
@ -1211,6 +1211,7 @@ int chk_data_link(MI_CHECK *param, MI_INFO *info,int extend)
|
|||||||
param->glob_crc+= mi_checksum(info,record);
|
param->glob_crc+= mi_checksum(info,record);
|
||||||
link_used+= (block_info.filepos - start_recpos);
|
link_used+= (block_info.filepos - start_recpos);
|
||||||
used+= (pos-start_recpos);
|
used+= (pos-start_recpos);
|
||||||
|
break;
|
||||||
case BLOCK_RECORD:
|
case BLOCK_RECORD:
|
||||||
assert(0); /* Impossible */
|
assert(0); /* Impossible */
|
||||||
} /* switch */
|
} /* switch */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user