MySQL 8.0.29
Source Code Documentation
rt_key.h
Go to the documentation of this file.
1/* Copyright (c) 2002, 2021, 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 also distributed 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 included with MySQL.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22
23/* Written by Ramil Kalimullin, who has a shared copyright to this code */
24
25/**
26 @file storage/myisam/rt_key.h
27*/
28
29#ifndef _rt_key_h
30#define _rt_key_h
31
32#include <sys/types.h>
33
34#include "my_inttypes.h"
35#include "myisam.h"
36
38 uint key_length, uchar *page_buf, my_off_t *new_page);
40 uint nod_flag);
42 uint key_length, my_off_t child_page);
43
44#endif /* _rt_key_h */
int page
Definition: ctype-mb.cc:1235
static MI_KEYDEF keyinfo[10]
Definition: mi_test1.cc:46
static uint key_length
Definition: mi_test1.cc:42
Some integer typedefs for easier portability.
ulonglong my_off_t
Definition: my_inttypes.h:71
unsigned char uchar
Definition: my_inttypes.h:51
This file should be included when using myisam functions.
Log info(cout, "NOTE")
required string key
Definition: replication_asynchronous_connection_failover.proto:59
int rtree_delete_key(MI_INFO *info, uchar *page, uchar *key, uint key_length, uint nod_flag)
Definition: rt_key.cc:74
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:39
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:94
Definition: myisamdef.h:251
Definition: myisam.h:173
unsigned int uint
Definition: uca-dump.cc:29