Commit a6d4ee72 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 ea7d0656
...@@ -37,7 +37,7 @@ static int UU() iibench_put_op(DB_TXN *txn, ARG arg, void *operation_extra, void ...@@ -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 first index is unique with serial autoincrement keys.
// The rest are have keys generated with this thread's random data. // The rest are have keys generated with this thread's random data.
for (int i = 0; i < num_dbs; i++) { 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; 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