checkpoint
u_int checkpoint; /* when to next check the ratio */
db->checkpoint = CHECK_GAP;
if (db->in_count >= db->checkpoint) {
db->checkpoint = db->in_count + CHECK_GAP;
checkpoint = CHECK_GAP;
checkpoint && block_compress) {
checkpoint = in_count + CHECK_GAP;
checkpoint = CHECK_GAP;