Commit 6025ae4f authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5676 this should not be on main...


git-svn-id: file:///svn/toku/tokudb@49912 c7de825b-a66e-492c-adef-691d508d4ae1
parent 093b5ced
...@@ -493,13 +493,7 @@ static inline void setup_fake_db (DB *fake_db, DESCRIPTOR orig_desc) { ...@@ -493,13 +493,7 @@ static inline void setup_fake_db (DB *fake_db, DESCRIPTOR orig_desc) {
fake_db->cmp_descriptor = orig_desc; fake_db->cmp_descriptor = orig_desc;
} }
#define FAST_FAKE_DB
#ifdef FAST_FAKE_DB
#define FAKE_DB(db, desc) struct __toku_db db; db.cmp_descriptor = desc;
#else
#define FAKE_DB(db, desc) struct __toku_db db; setup_fake_db(&db, (desc)); #define FAKE_DB(db, desc) struct __toku_db db; setup_fake_db(&db, (desc));
#endif
struct ft_options { struct ft_options {
unsigned int nodesize; unsigned int nodesize;
......
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