summaryrefslogtreecommitdiff
path: root/storage/maria/ma_rt_index.c
diff options
context:
space:
mode:
authorGuilhem Bichot <guilhem@mysql.com>2009-01-26 22:14:43 +0100
committerGuilhem Bichot <guilhem@mysql.com>2009-01-26 22:14:43 +0100
commit45f7a939149e457403935db8c6b131baf6193f36 (patch)
treefb7de471e84140c5711392025fe02e82e49e24cf /storage/maria/ma_rt_index.c
parent9aa2ada9d007a41d4e58447ea405b646c4d53ea3 (diff)
downloadmariadb-git-45f7a939149e457403935db8c6b131baf6193f36.tar.gz
Putting back some fixes lost in a colleague's merge a while back; that was
about problems when the R-tree index is not the first index.
Diffstat (limited to 'storage/maria/ma_rt_index.c')
-rw-r--r--storage/maria/ma_rt_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_rt_index.c b/storage/maria/ma_rt_index.c
index ccdddf5906d..15202c335b2 100644
--- a/storage/maria/ma_rt_index.c
+++ b/storage/maria/ma_rt_index.c
@@ -433,7 +433,7 @@ int maria_rtree_get_first(MARIA_HA *info, uint keynr, uint key_length)
info->maria_rtree_recursion_depth= -1;
info->keyread_buff_used= 1;
- return maria_rtree_get_req(info, &keyinfo[keynr], key_length, root, 0);
+ return maria_rtree_get_req(info, keyinfo, key_length, root, 0);
}