Commit 6804dbec 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 6f169168
...@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) { ...@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) {
size_t len = strlen(descriptor_contents[which])+1; size_t len = strlen(descriptor_contents[which])+1;
dbt_init(&descriptor, descriptor_contents[which], len); dbt_init(&descriptor, descriptor_contents[which], len);
IN_TXN_COMMIT(env, NULL, txn_desc, 0, { 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 #endif
} }
......
...@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) { ...@@ -40,7 +40,7 @@ change_descriptor(DB* db, int which, DB_ENV* env) {
size_t len = strlen(descriptor_contents[which])+1; size_t len = strlen(descriptor_contents[which])+1;
dbt_init(&descriptor, descriptor_contents[which], len); dbt_init(&descriptor, descriptor_contents[which], len);
IN_TXN_COMMIT(env, NULL, txn_desc, 0, { 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 #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