refs #5684 fix compilation

git-svn-id: file:///svn/toku/tokudb@50064 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Leif Walsh 2013-04-17 00:01:16 -04:00 committed by Yoni Fogel
parent 17d9bd691c
commit 704131bf4b

View file

@ -489,7 +489,7 @@ struct ft {
// descriptor. We don't bother setting any other fields because // descriptor. We don't bother setting any other fields because
// the comparison function doesn't need it, and we would like to // the comparison function doesn't need it, and we would like to
// reduce the CPU work done per comparison. // 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 { struct ft_options {
unsigned int nodesize; unsigned int nodesize;