mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
comment added
This commit is contained in:
parent
f45ff11f4b
commit
c38d9110f7
1 changed files with 10 additions and 0 deletions
10
mysys/tree.c
10
mysys/tree.c
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue