Commit 80b5a475 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Add a comment. Addreses #180.

git-svn-id: file:///svn/tokudb@1293 c7de825b-a66e-492c-adef-691d508d4ae1
parent 62dc77b1
......@@ -1016,7 +1016,7 @@ static int toku_c_put(DBC *dbc, DBT *key, DBT *data, u_int32_t flags) {
else return EINVAL;
finish:
//Insert new data with the key we got from c_get.
r = db->put(db, dbc->i->txn, put_key, put_data, DB_YESOVERWRITE);
r = db->put(db, dbc->i->txn, put_key, put_data, DB_YESOVERWRITE); // when doing the put, it should do an overwrite.
if (r!=0) goto cleanup;
r = toku_c_get(dbc, get_key, get_data, DB_GET_BOTH);
goto cleanup;
......
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