1/* Copyright (C) 2006 MySQL AB & Ramil Kalimullin & MySQL Finland AB
2 & TCX DataKonsult AB
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; version 2 of the License.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program; if not, write to the Free Software
15 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */
16
17/* Written by Ramil Kalimullin, who has a shared copyright to this code */
18
19#ifndef _rt_key_h
20#define _rt_key_h
21
22#ifdef HAVE_RTREE_KEYS
23
24int maria_rtree_add_key(const MARIA_KEY *key, MARIA_PAGE *page,
25 my_off_t *new_page);
26int maria_rtree_delete_key(MARIA_PAGE *page, uchar *key, uint key_length);
27int maria_rtree_set_key_mbr(MARIA_HA *info, MARIA_KEY *key,
28 my_off_t child_page);
29
30#endif /*HAVE_RTREE_KEYS*/
31#endif /* _rt_key_h */
32