diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-06-21 14:36:29 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-04-24 16:06:54 +0200 |
commit | 6cc19078ba7f2db521d44a3b8b9f0d5ea135625c (patch) | |
tree | 87bbfdccbd5da40d0c9887bd77c9ad13a5653f38 /include | |
parent | bed1ede197cecca633023bf19248533fae085130 (diff) | |
download | mariadb-git-6cc19078ba7f2db521d44a3b8b9f0d5ea135625c.tar.gz |
cleanup: make TREE copyable
move per-object TREE::null_element to be one global
static null_element.
Diffstat (limited to 'include')
-rw-r--r-- | include/my_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_tree.h b/include/my_tree.h index 02cab02b52e..59d02218a21 100644 --- a/include/my_tree.h +++ b/include/my_tree.h @@ -59,7 +59,7 @@ typedef struct st_tree_element { #define ELEMENT_CHILD(element, offs) (*(TREE_ELEMENT**)((char*)element + offs)) typedef struct st_tree { - TREE_ELEMENT *root,null_element; + TREE_ELEMENT *root; TREE_ELEMENT **parents[MAX_TREE_HEIGHT]; uint offset_to_key,elements_in_tree,size_of_element; size_t memory_limit, allocated; |