diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/block/block_ckpt.c')
-rw-r--r-- | src/third_party/wiredtiger/src/block/block_ckpt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/block/block_ckpt.c b/src/third_party/wiredtiger/src/block/block_ckpt.c index 2c8ff89a5cf..adbcf0e3fdc 100644 --- a/src/third_party/wiredtiger/src/block/block_ckpt.c +++ b/src/third_party/wiredtiger/src/block/block_ckpt.c @@ -657,12 +657,10 @@ live_update: break; if ((a = ckpt->bpriv) == NULL) a = &block->live; - if (a->discard.entries != 0) { - __wt_errx(session, + if (a->discard.entries != 0) + WT_ERR_MSG(session, WT_ERROR, "first checkpoint incorrectly has blocks on the discard " "list"); - WT_ERR(WT_ERROR); - } #endif block->ckpt_inprogress = true; |