summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/format/ops.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2017-10-19 15:51:08 +1100
committerLuke Chen <luke.chen@mongodb.com>2017-10-19 15:54:58 +1100
commit2f9f471cd5d5217023f9645fff83ff79167a8fbf (patch)
tree0df4e8ea44eecb0dbe23a3b69c27d718a99fe00e /src/third_party/wiredtiger/test/format/ops.c
parent59f7859bc5db014940c36bf60f339992c3b1e672 (diff)
downloadmongo-2f9f471cd5d5217023f9645fff83ff79167a8fbf.tar.gz
Import wiredtiger: 4ecdb8f1a327067a178258ad025806eeefc1267b from branch mongodb-3.6
ref: 4b5ade6072..4ecdb8f1a3 for: 3.6.0-rc1 WT-3553 Change test utility error handling to abort rather than exit WT-3611 Backup comment doesn't match the code. WT-3619 Make compaction more aware of checkpoints and eviction WT-3635 Coverity 1381606 & Friday builds & lint. WT-3650 test_timestamp07(table-cg.nolog.1000keys) WT-3651 Reduce runtime of Python lookaside test WT-3655 Don't dirty pages to induce lookaside eviction WT-3657 Timestamp and lookaside related automated test failures WT-3660 WiredTiger documentation refers to WT_CURSOR::first. WT-3662 Write lookaside after reconciliation has succeeded WT-3663 lookaside records ignored unless a backing disk block written WT-3665 change format to configure the WiredTiger checkpoint thread
Diffstat (limited to 'src/third_party/wiredtiger/test/format/ops.c')
-rw-r--r--src/third_party/wiredtiger/test/format/ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/test/format/ops.c b/src/third_party/wiredtiger/test/format/ops.c
index 4fed18d12b4..607dd43a8f3 100644
--- a/src/third_party/wiredtiger/test/format/ops.c
+++ b/src/third_party/wiredtiger/test/format/ops.c
@@ -175,7 +175,7 @@ wts_ops(int lastrun)
if (g.c_backups)
testutil_check(
__wt_thread_create(NULL, &backup_tid, backup, NULL));
- if (g.c_checkpoints)
+ if (g.c_checkpoint_flag == CHECKPOINT_ON)
testutil_check(__wt_thread_create(
NULL, &checkpoint_tid, checkpoint, NULL));
if (g.c_compact)
@@ -252,7 +252,7 @@ wts_ops(int lastrun)
testutil_check(__wt_thread_join(NULL, alter_tid));
if (g.c_backups)
testutil_check(__wt_thread_join(NULL, backup_tid));
- if (g.c_checkpoints)
+ if (g.c_checkpoint_flag == CHECKPOINT_ON)
testutil_check(__wt_thread_join(NULL, checkpoint_tid));
if (g.c_compact)
testutil_check(__wt_thread_join(NULL, compact_tid));
@@ -988,8 +988,8 @@ read_row(WT_CURSOR *cursor, WT_ITEM *key, WT_ITEM *value, uint64_t keyno)
{
static int sn = 0;
WT_SESSION *session;
- int exact, ret;
uint8_t bitfield;
+ int exact, ret;
session = cursor->session;