summaryrefslogtreecommitdiff
path: root/include/my_tree.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-09-13 01:08:34 +0300
committermonty@donna.mysql.com <>2000-09-13 01:08:34 +0300
commit47265938625c8cb7832cf15a8e39caf6b64c4b30 (patch)
tree42c131dcc09b3b264d33b14120eaae7687ab2425 /include/my_tree.h
parentf2d930c388eb48174addd3e0cd542f3d0811ac6e (diff)
downloadmariadb-git-47265938625c8cb7832cf15a8e39caf6b64c4b30.tar.gz
Fixes for FULLTEXT and TIME type
Diffstat (limited to 'include/my_tree.h')
-rw-r--r--include/my_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_tree.h b/include/my_tree.h
index 84815591e36..0a227ea3944 100644
--- a/include/my_tree.h
+++ b/include/my_tree.h
@@ -61,6 +61,7 @@ void init_tree(TREE *tree,uint default_alloc_size, int element_size,
qsort_cmp compare, my_bool with_delete,
void (*free_element)(void*));
void delete_tree(TREE*);
+#define is_tree_inited(tree) ((tree)->root != 0)
/* Functions on leafs */
TREE_ELEMENT *tree_insert(TREE *tree,void *key,uint key_size);