diff options
author | ram@gw.udmsearch.izhnet.ru <> | 2002-05-21 21:54:08 +0500 |
---|---|---|
committer | ram@gw.udmsearch.izhnet.ru <> | 2002-05-21 21:54:08 +0500 |
commit | 3b43cb2960b2f44b78d63fe94b249ff52da9d3c4 (patch) | |
tree | 33c8cdcfd2d233bc3b663c05fd4bd9ca99b2bb5e /include/my_tree.h | |
parent | ba963bb64dbb51e6070fd34a17fc52335063cf4a (diff) | |
download | mariadb-git-3b43cb2960b2f44b78d63fe94b249ff52da9d3c4.tar.gz |
BTREE heap key structure is now the same as MyISAM
_mi_compare_text -> mi_compate_text
Changes according Monty's suggestions
Diffstat (limited to 'include/my_tree.h')
-rw-r--r-- | include/my_tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_tree.h b/include/my_tree.h index 265bf69b1e7..826c2b7c808 100644 --- a/include/my_tree.h +++ b/include/my_tree.h @@ -20,7 +20,7 @@ extern "C" { #endif -#define MAX_TREE_HIGHT 40 /* = max 1048576 leafs in tree */ +#define MAX_TREE_HEIGHT 40 /* = max 1048576 leafs in tree */ #define ELEMENT_KEY(tree,element)\ (tree->offset_to_key ? (void*)((byte*) element+tree->offset_to_key) :\ *((void**) (element+1))) @@ -52,7 +52,7 @@ typedef struct st_tree_element { typedef struct st_tree { TREE_ELEMENT *root,null_element; - TREE_ELEMENT **parents[MAX_TREE_HIGHT]; + TREE_ELEMENT **parents[MAX_TREE_HEIGHT]; uint offset_to_key,elements_in_tree,size_of_element,memory_limit,allocated; qsort_cmp2 compare; void* custom_arg; |