Commit f9efd31a authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

One of the tests found a bug in the logging. (Logged key twice instead of...

One of the tests found a bug in the logging.  (Logged key twice instead of key,data pair).  Addresses #27.

git-svn-id: file:///svn/tokudb@2438 c7de825b-a66e-492c-adef-691d508d4ae1
parent b6f8db44
......@@ -935,7 +935,7 @@ int toku_pma_insert_or_replace (PMA pma, DBT *k, DBT *v,
}
{
const BYTESTRING key = { k->size, k->data };
const BYTESTRING data = { v->size, k->data };
const BYTESTRING data = { v->size, v->data };
r = toku_log_insertinleaf (logger, xid, pma->filenum, diskoff, idx, key, data);
if (logger && node_lsn) *node_lsn = toku_logger_last_lsn(logger);
if (r!=0) return r;
......
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