mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
BUG#26624, pushbuild fixes: Merge to 5.0
mysql-test/r/range.result: Auto merged mysql-test/t/range.test: Auto merged
This commit is contained in:
@ -257,7 +257,7 @@ public:
|
||||
enum leaf_color { BLACK,RED } color;
|
||||
enum Type { IMPOSSIBLE, MAYBE, MAYBE_KEY, KEY_RANGE } type;
|
||||
|
||||
enum { MAX_SEL_ARGS = 64000 };
|
||||
enum { MAX_SEL_ARGS = 16000 };
|
||||
|
||||
SEL_ARG() {}
|
||||
SEL_ARG(SEL_ARG &);
|
||||
@ -4621,8 +4621,8 @@ tree_and(PARAM *param,SEL_TREE *tree1,SEL_TREE *tree2)
|
||||
}
|
||||
result_keys.set_bit(key1 - tree1->keys);
|
||||
#ifdef EXTRA_DEBUG
|
||||
if (*key1)
|
||||
(*key1)->test_use_count(*key1);
|
||||
if (*key1 && param->alloced_sel_args < SEL_ARG::MAX_SEL_ARGS)
|
||||
(*key1)->test_use_count(*key1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -4703,7 +4703,8 @@ tree_or(PARAM *param,SEL_TREE *tree1,SEL_TREE *tree2)
|
||||
result=tree1; // Added to tree1
|
||||
result_keys.set_bit(key1 - tree1->keys);
|
||||
#ifdef EXTRA_DEBUG
|
||||
(*key1)->test_use_count(*key1);
|
||||
if (param->alloced_sel_args < SEL_ARG::MAX_SEL_ARGS)
|
||||
(*key1)->test_use_count(*key1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user