Commit 9f99493d authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Change the {{{LEAFENTRY}}} to {{{OMTVALUE}}} when using the omt, and also...

Change the {{{LEAFENTRY}}} to {{{OMTVALUE}}} when using the omt, and also change the type of {{{OMTVALUE}}} to {{{void*}}} so we can have two different OMTs coexisting.  Fixes #750.

git-svn-id: file:///svn/tokudb@3646 c7de825b-a66e-492c-adef-691d508d4ae1
parent 8489ae23
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "kv-pair.h" #include "kv-pair.h"
#include "leafentry.h" #include "leafentry.h"
typedef LEAFENTRY OMTVALUE; typedef void* OMTVALUE;
#include "omt.h" #include "omt.h"
...@@ -212,7 +212,7 @@ struct cmd_leafval_bessel_extra { ...@@ -212,7 +212,7 @@ struct cmd_leafval_bessel_extra {
BRT_CMD cmd; BRT_CMD cmd;
int compare_both_keys; // Set to 1 for DUPSORT databases that are not doing a DELETE_BOTH int compare_both_keys; // Set to 1 for DUPSORT databases that are not doing a DELETE_BOTH
}; };
int toku_cmd_leafval_bessel (LEAFENTRY leafentry, void *extra); int toku_cmd_leafval_bessel (OMTVALUE leafentry, void *extra);
int toku_brt_root_put_cmd(BRT brt, BRT_CMD cmd, TOKULOGGER logger); int toku_brt_root_put_cmd(BRT brt, BRT_CMD cmd, TOKULOGGER logger);
int toku_cachefile_root_put_cmd (CACHEFILE cf, BRT_CMD cmd, TOKULOGGER logger); int toku_cachefile_root_put_cmd (CACHEFILE cf, BRT_CMD cmd, TOKULOGGER logger);
......
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