Commit 4f7471d5 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5629 respect the put flags


git-svn-id: file:///svn/toku/tokudb@50319 c7de825b-a66e-492c-adef-691d508d4ae1
parent 25e591f7
......@@ -37,7 +37,7 @@ static int UU() iibench_put_op(DB_TXN *txn, ARG arg, void *operation_extra, void
// The first index is unique with serial autoincrement keys.
// The rest are have keys generated with this thread's random data.
for (int i = 0; i < num_dbs; i++) {
mult_put_flags[i] = i == 0 ? DB_NOOVERWRITE : 0;
mult_put_flags[i] = get_put_flags(arg->cli) | (i == 0 ? DB_NOOVERWRITE : 0);
dbs[i]->app_private = i == 0 ? nullptr : arg->random_data;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment