diff options
author | unknown <serg@serg.mylan> | 2003-06-24 21:15:40 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-06-24 21:15:40 +0200 |
commit | 5a41a7f76faa66ba3f06cf5663c48260259c979a (patch) | |
tree | 27a73070f1ab5a1243e5a1348dab8bd6e545e02d | |
parent | 4ccada56f13de8bd27b2fa3d7e7601a05e403758 (diff) | |
parent | c38d9110f7eea0a56f4ff54af91da4ae9d3df77d (diff) | |
download | mariadb-git-5a41a7f76faa66ba3f06cf5663c48260259c979a.tar.gz |
Merge
-rw-r--r-- | mysys/tree.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysys/tree.c b/mysys/tree.c index a3b69ebff5e..91d2f9771b5 100644 --- a/mysys/tree.c +++ b/mysys/tree.c @@ -46,6 +46,16 @@ 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 <m_string.h> #include <my_tree.h> |