1
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
16
/* This file is included by all myisam-merge files */
19
#include "../myisam/myisamdef.h"
22
#include "myisammrg.h"
24
extern LIST *myrg_open_list;
26
extern mysql_mutex_t THR_LOCK_open;
28
int _myrg_init_queue(MYRG_INFO *info,int inx,enum ha_rkey_function search_flag);
29
int _myrg_mi_read_record(MI_INFO *info, uchar *buf);
33
void myrg_print_wrong_table(const char *table_name);
35
#ifdef HAVE_PSI_INTERFACE
36
extern PSI_mutex_key rg_key_mutex_MYRG_INFO_mutex;
38
extern PSI_file_key rg_key_file_MRG;
41
void init_myisammrg_psi_keys();
43
#endif /* HAVE_PSI_INTERFACE */