Commit f88e6bbf authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5684 fix compilation


git-svn-id: file:///svn/toku/tokudb@50064 c7de825b-a66e-492c-adef-691d508d4ae1
parent 79baeff4
......@@ -489,7 +489,7 @@ struct ft {
// descriptor. We don't bother setting any other fields because
// the comparison function doesn't need it, and we would like to
// reduce the CPU work done per comparison.
#define FAKE_DB(db, desc) struct __toku_db db; fake_db->cmp_descriptor = desc;
#define FAKE_DB(db, desc) struct __toku_db db; do { db.cmp_descriptor = desc; } while (0)
struct ft_options {
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