Commit 773308d9 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

pma-test was failing after recent changes for recovery. Addresses #27

git-svn-id: file:///svn/tokudb@759 c7de825b-a66e-492c-adef-691d508d4ae1
parent b93b2eec
...@@ -208,7 +208,7 @@ int tokulogger_log_brt_insert_with_no_overwrite (TOKULOGGER logger, ...@@ -208,7 +208,7 @@ int tokulogger_log_brt_insert_with_no_overwrite (TOKULOGGER logger,
} }
int tokulogger_log_phys_add_or_delete_in_leaf (DB *db, TOKUTXN txn, DISKOFF diskoff, int is_add, const struct kv_pair *pair) { int tokulogger_log_phys_add_or_delete_in_leaf (DB *db, TOKUTXN txn, DISKOFF diskoff, int is_add, const struct kv_pair *pair) {
if (is_add) { if (is_add && txn) {
BYTESTRING key = { pair->keylen, (char*)kv_pair_key_const(pair) }; BYTESTRING key = { pair->keylen, (char*)kv_pair_key_const(pair) };
BYTESTRING data = { pair->vallen, (char*)kv_pair_val_const(pair) }; BYTESTRING data = { pair->vallen, (char*)kv_pair_val_const(pair) };
//printf("Logging insertinleaf\n"); //printf("Logging insertinleaf\n");
......
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