MySQL 9.1.0
Source Code Documentation
rt_key.h
Go to the documentation of this file.
1/* Copyright (c) 2002, 2024, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is designed to work with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24/* Written by Ramil Kalimullin, who has a shared copyright to this code */
25
26/**
27 @file storage/myisam/rt_key.h
28*/
29
30#ifndef _rt_key_h
31#define _rt_key_h
32
33#include <sys/types.h>
34
35#include "my_inttypes.h"
36#include "myisam.h"
37
38int rtree_add_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key,
39 uint key_length, uchar *page_buf, my_off_t *new_page);
40int rtree_delete_key(MI_INFO *info, uchar *page, uchar *key, uint key_length,
41 uint nod_flag);
42int rtree_set_key_mbr(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key,
43 uint key_length, my_off_t child_page);
44
45#endif /* _rt_key_h */
int page
Definition: ctype-mb.cc:1224
Some integer typedefs for easier portability.
ulonglong my_off_t
Definition: my_inttypes.h:72
unsigned char uchar
Definition: my_inttypes.h:52
This file should be included when using myisam functions.
required string key
Definition: replication_asynchronous_connection_failover.proto:60
int rtree_delete_key(MI_INFO *info, uchar *page, uchar *key, uint key_length, uint nod_flag)
Definition: rt_key.cc:75
int rtree_add_key(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key, uint key_length, uchar *page_buf, my_off_t *new_page)
Definition: rt_key.cc:40
int rtree_set_key_mbr(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *key, uint key_length, my_off_t child_page)
Definition: rt_key.cc:95
Definition: myisamdef.h:254
Definition: myisam.h:173