Commit 49a80688 authored by unknown's avatar unknown

Merge

parents d3deae82 f2920f28
...@@ -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