MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
myrg_def.h
1 /* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
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 as published by
5  the Free Software Foundation; version 2 of the License.
6 
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.
11 
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 */
15 
16 /* This file is included by all myisam-merge files */
17 
18 #ifndef N_MAXKEY
19 #include "../myisam/myisamdef.h"
20 #endif
21 
22 #include "myisammrg.h"
23 
24 extern LIST *myrg_open_list;
25 
26 extern mysql_mutex_t THR_LOCK_open;
27 
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);
30 #ifdef __cplusplus
31 extern "C"
32 #endif
33 void myrg_print_wrong_table(const char *table_name);
34 
35 #ifdef HAVE_PSI_INTERFACE
36 extern PSI_mutex_key rg_key_mutex_MYRG_INFO_mutex;
37 
38 extern PSI_file_key rg_key_file_MRG;
39 
40 C_MODE_START
41 void init_myisammrg_psi_keys();
42 C_MODE_END
43 #endif /* HAVE_PSI_INTERFACE */
44