MySQL 8.0.40
Source Code Documentation
myrg_def.h
Go to the documentation of this file.
1/* Copyright (c) 2000, 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/* This file is included by all myisam-merge files */
25
26/**
27 @file storage/myisammrg/myrg_def.h
28*/
29
30#include "myisammrg.h"
31
32extern LIST *myrg_open_list;
33
35
36int _myrg_init_queue(MYRG_INFO *info, int inx,
37 enum ha_rkey_function search_flag);
39
40void myrg_print_wrong_table(const char *table_name);
41
42/* Always defined */
45
46#ifdef HAVE_PSI_INTERFACE
48
51#endif /* HAVE_PSI_INTERFACE */
unsigned int PSI_file_key
Instrumented file key.
Definition: psi_file_bits.h:48
unsigned int PSI_memory_key
Instrumented memory key.
Definition: psi_memory_bits.h:49
unsigned int PSI_mutex_key
Instrumented mutex key.
Definition: psi_mutex_bits.h:52
ha_rkey_function
Definition: my_base.h:78
unsigned char uchar
Definition: my_inttypes.h:52
This file should be included when using merge isam functions.
PSI_file_key rg_key_file_MRG
Definition: myrg_static.cc:52
int _myrg_init_queue(MYRG_INFO *info, int inx, enum ha_rkey_function search_flag)
Definition: myrg_queue.cc:53
PSI_memory_key rg_key_memory_MYRG_INFO
Definition: myrg_static.cc:43
LIST * myrg_open_list
Definition: myrg_static.cc:38
PSI_memory_key rg_key_memory_children
Definition: myrg_static.cc:44
void myrg_print_wrong_table(const char *table_name)
Definition: ha_myisammrg.cc:139
void init_myisammrg_psi_keys()
Definition: myrg_static.cc:61
int _myrg_mi_read_record(MI_INFO *info, uchar *buf)
Definition: myrg_queue.cc:87
PSI_mutex_key rg_key_mutex_MYRG_INFO_mutex
Definition: myrg_static.cc:47
mysql_mutex_t THR_LOCK_open
Definition: my_thr_init.cc:76
Log info(cout, "NOTE")
Definition: buf0block_hint.cc:30
const char * table_name
Definition: rules_table_service.cc:56
Definition: my_list.h:36
Definition: myisamdef.h:252
Definition: myisammrg.h:72
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50