Commit f9cf264d authored by Yoni Fogel's avatar Yoni Fogel

Add c_pget to DB->cursor

closes #107

git-svn-id: file:///svn/tokudb@943 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6a762592
...@@ -749,6 +749,7 @@ static int toku_db_cursor(DB * db, DB_TXN * txn, DBC ** c, u_int32_t flags) { ...@@ -749,6 +749,7 @@ static int toku_db_cursor(DB * db, DB_TXN * txn, DBC ** c, u_int32_t flags) {
return ENOMEM; return ENOMEM;
memset(result, 0, sizeof *result); memset(result, 0, sizeof *result);
result->c_get = toku_c_get; result->c_get = toku_c_get;
result->c_pget = toku_c_pget;
result->c_close = toku_c_close; result->c_close = toku_c_close;
result->c_del = toku_c_del; result->c_del = toku_c_del;
MALLOC(result->i); MALLOC(result->i);
......
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