Commit 3a26b247 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4541], fix a couple of other tests

git-svn-id: file:///svn/toku/tokudb@41587 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7e998e39
......@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) {
size_t len = strlen(descriptor_contents[which])+1;
dbt_init(&descriptor, descriptor_contents[which], len);
IN_TXN_COMMIT(env, NULL, txn_desc, 0, {
CHK(db->change_descriptor(db, txn_desc, &descriptor, 0));
CHK(db->change_descriptor(db, txn_desc, &descriptor, DB_UPDATE_CMP_DESCRIPTOR));
});
#endif
}
......
......@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) {
size_t len = strlen(descriptor_contents[which])+1;
dbt_init(&descriptor, descriptor_contents[which], len);
IN_TXN_COMMIT(env, NULL, txn_desc, 0, {
CHK(db->change_descriptor(db, txn_desc, &descriptor, 0));
CHK(db->change_descriptor(db, txn_desc, &descriptor, DB_UPDATE_CMP_DESCRIPTOR));
});
#endif
}
......
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