Commit 6f9f1fb0 authored by Yoni Fogel's avatar Yoni Fogel

Closes #638

Port of toku__lt_init_full_query to OSX's somewhat broken compiler.

git-svn-id: file:///svn/tokudb@3257 c7de825b-a66e-492c-adef-691d508d4ae1
parent e86e6a69
......@@ -919,10 +919,10 @@ static inline int toku__consolidate(toku_lock_tree* tree, BOOL found_only,
static inline void toku__lt_init_full_query(toku_lock_tree* tree, toku_interval* query,
toku_point* left, toku_point* right) {
toku__init_point(left, tree, (DBT*)toku_lt_neg_infinity,
tree->duplicates ? (DBT*)toku_lt_neg_infinity : NULL);
toku__init_point(right, tree, (DBT*)toku_lt_infinity,
tree->duplicates ? (DBT*)toku_lt_infinity : NULL);
DBT* neg_inf_dups = tree->duplicates ? (DBT*)toku_lt_neg_infinity : NULL;
DBT* pos_inf_dups = tree->duplicates ? (DBT*)toku_lt_infinity : NULL;
toku__init_point(left, tree, (DBT*)toku_lt_neg_infinity, neg_inf_dups);
toku__init_point(right, tree, (DBT*)toku_lt_infinity, pos_inf_dups);
toku__init_query(query, left, right);
}
......
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