mirror of
https://github.com/MariaDB/server.git
synced 2025-08-15 22:37:22 +00:00
comment added
This commit is contained in:
10
mysys/tree.c
10
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>
|
||||
|
Reference in New Issue
Block a user