~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

Viewing changes to storage/myisammrg/myrg_def.h

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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