Commit 52de7a7b authored by serg@serg.mylan's avatar serg@serg.mylan

Merge

parents 5788c90d 9a94d6d7
...@@ -46,6 +46,16 @@ ...@@ -46,6 +46,16 @@
Implemented by monty. Implemented by monty.
*/ */
/*
NOTE:
tree->compare function should be ALWAYS called as
(*tree->compare)(custom_arg, ELEMENT_KEY(tree,element), key)
and not other way around, as
(*tree->compare)(custom_arg, key, ELEMENT_KEY(tree,element))
ft_boolean_search.c (at least) relies on that.
*/
#include "mysys_priv.h" #include "mysys_priv.h"
#include <m_string.h> #include <m_string.h>
#include <my_tree.h> #include <my_tree.h>
......
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