diff options
author | unknown <ram@mysql.r18.ru> | 2002-11-11 13:34:47 +0400 |
---|---|---|
committer | unknown <ram@mysql.r18.ru> | 2002-11-11 13:34:47 +0400 |
commit | 10ba987c5ef223aa0af384822082c3d233f6d970 (patch) | |
tree | 50658c447f9bf207b0129791da75c078518c29b2 /mysys/tree.c | |
parent | 828c0e9ac197f92d4b6d11aa58c312aef2c12c20 (diff) | |
download | mariadb-git-10ba987c5ef223aa0af384822082c3d233f6d970.tar.gz |
fix for HEAP rb-tree indexes and BIG_TABLES problem (serg: thanks for discovery)
Diffstat (limited to 'mysys/tree.c')
-rw-r--r-- | mysys/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/tree.c b/mysys/tree.c index f72a4961312..3e20820ebd9 100644 --- a/mysys/tree.c +++ b/mysys/tree.c @@ -439,14 +439,14 @@ void *tree_search_next(TREE *tree, TREE_ELEMENT ***last_pos, int l_offs, Expected that tree is fully balanced (each path from root to leaf has the same length) */ -uint tree_record_pos(TREE *tree, const void *key, +ha_rows tree_record_pos(TREE *tree, const void *key, enum ha_rkey_function flag, void *custom_arg) { int cmp; TREE_ELEMENT *element= tree->root; double left= 1; double right= tree->elements_in_tree; - uint last_equal_pos= HA_POS_ERROR; + ha_rows last_equal_pos= HA_POS_ERROR; while (element != &tree->null_element) { |