refs #5629 respect the put flags

git-svn-id: file:///svn/toku/tokudb@50319 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
John Esmet 2013-04-17 00:01:18 -04:00 committed by Yoni Fogel
parent ea7d0656be
commit a6d4ee723c

View file

@ -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;
}