diff options
| author | Luke Chen <luke.chen@mongodb.com> | 2019-06-26 10:55:50 +1000 |
|---|---|---|
| committer | Luke Chen <luke.chen@mongodb.com> | 2019-06-26 10:55:50 +1000 |
| commit | de6592f457144d3391e108f0d9fc41436a3655e9 (patch) | |
| tree | c0ca2b2e0e63366d8e6f310402d317858dfcdd0b /src/third_party/wiredtiger/test/thread/rw.c | |
| parent | 21f0a00b54c9fac5ac99aa0d2f81039c8564c6c9 (diff) | |
Import wiredtiger: ee1bae262347285f46b5c56cc0490d20b9ee9c98 from branch mongodb-4.2r4.2.0-rc2
ref: 40e3225e55..ee1bae2623
for: 4.2.0-rc2
WT-4694 Dynamic compression throughput varies widely
WT-4798 Fix bug in picking random dhandle for eviction
WT-4862 WT_SESSION.import implies an additional write during checkpoints without an avail list
WT-4863 Prototype WiredTiger inline functions
WT-4869 Stop adding cache pressure when eviction is falling behind
Diffstat (limited to 'src/third_party/wiredtiger/test/thread/rw.c')
| -rw-r--r-- | src/third_party/wiredtiger/test/thread/rw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/thread/rw.c b/src/third_party/wiredtiger/test/thread/rw.c index f874695d584..cf38157f59f 100644 --- a/src/third_party/wiredtiger/test/thread/rw.c +++ b/src/third_party/wiredtiger/test/thread/rw.c @@ -65,7 +65,7 @@ rw_start(u_int readers, u_int writers) if (i == 0 || multiple_files) { run_info[i].name = dmalloc(64); testutil_check(__wt_snprintf( - run_info[i].name, 64, FNAME, i)); + run_info[i].name, 64, FNAME, (int)i)); /* Vary by orders of magnitude */ if (vary_nops) @@ -88,7 +88,7 @@ rw_start(u_int readers, u_int writers) /* Have readers read from tables with writes. */ name_index = i % writers; testutil_check(__wt_snprintf( - run_info[offset].name, 64, FNAME, name_index)); + run_info[offset].name, 64, FNAME, (int)name_index)); /* Vary by orders of magnitude */ if (vary_nops) |
