Commit 6c30f391 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

remove the fifo_msg cruft from the newbrt refs[t:2189]

git-svn-id: file:///svn/toku/tokudb@15962 c7de825b-a66e-492c-adef-691d508d4ae1
parent 25cfe8a6
...@@ -47,7 +47,6 @@ BRT_SOURCES = \ ...@@ -47,7 +47,6 @@ BRT_SOURCES = \
cachetable \ cachetable \
checkpoint \ checkpoint \
fifo \ fifo \
fifo_msg \
fingerprint \ fingerprint \
key \ key \
leafentry \ leafentry \
......
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
#include <toku_portability.h> #include <toku_portability.h>
#include "brttypes.h" #include "brttypes.h"
#include "xids.h" #include "xids.h"
#include "fifo_msg.h"
#include "brt_msg.h" #include "brt_msg.h"
#if 0
//BRT_MSG internals are in host order //BRT_MSG internals are in host order
//XIDS are not 'internal' to BRT_MSG //XIDS are not 'internal' to BRT_MSG
...@@ -21,9 +22,12 @@ brt_msg_from_dbts(BRT_MSG brt_msg, ...@@ -21,9 +22,12 @@ brt_msg_from_dbts(BRT_MSG brt_msg,
brt_msg->type = type; brt_msg->type = type;
} }
#endif
//No conversion (from disk to host) is necessary //No conversion (from disk to host) is necessary
//Accessor functions for fifo return host order bytes. //Accessor functions for fifo return host order bytes.
#if 0 #if 0
#include "fifo_msg.h"
void void
brt_msg_from_fifo_msg(BRT_MSG brt_msg, FIFO_MSG fifo_msg) { brt_msg_from_fifo_msg(BRT_MSG brt_msg, FIFO_MSG fifo_msg) {
brt_msg->keylen = fifo_msg_get_keylen(fifo_msg); brt_msg->keylen = fifo_msg_get_keylen(fifo_msg);
......
...@@ -27,7 +27,11 @@ enum brt_msg_type brt_msg_get_type(BRT_MSG brt_msg); ...@@ -27,7 +27,11 @@ enum brt_msg_type brt_msg_get_type(BRT_MSG brt_msg);
void brt_msg_from_fifo_msg(BRT_MSG brt_msg, FIFO_MSG fifo_msg); void brt_msg_from_fifo_msg(BRT_MSG brt_msg, FIFO_MSG fifo_msg);
#if 0
void brt_msg_from_dbts(BRT_MSG brt_msg, DBT *key, DBT *val, XIDS xids, enum brt_msg_type type); void brt_msg_from_dbts(BRT_MSG brt_msg, DBT *key, DBT *val, XIDS xids, enum brt_msg_type type);
#endif #endif
#endif
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