~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to storage/maria/ma_rt_key.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  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
 
 
24
int maria_rtree_add_key(MARIA_HA *info, const MARIA_KEY *key, uchar *page_buf,
 
25
                        my_off_t page, my_off_t *new_page);
 
26
int maria_rtree_delete_key(MARIA_HA *info, uchar *page_buf, uchar *key,
 
27
                           uint key_length, uint nod_flag, my_off_t page);
 
28
int maria_rtree_set_key_mbr(MARIA_HA *info, MARIA_KEY *key,
 
29
                            my_off_t child_page);
 
30
 
 
31
#endif /*HAVE_RTREE_KEYS*/
 
32
#endif /* _rt_key_h */