~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/handler/i_s.h

Merge Stewart's dead code removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************************
 
2
 
 
3
Copyright (c) 2007, 2009, Innobase Oy. All Rights Reserved.
 
4
 
 
5
This program is free software; you can redistribute it and/or modify it under
 
6
the terms of the GNU General Public License as published by the Free Software
 
7
Foundation; version 2 of the License.
 
8
 
 
9
This program is distributed in the hope that it will be useful, but WITHOUT
 
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 
12
 
 
13
You should have received a copy of the GNU General Public License along with
 
14
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 
15
Place, Suite 330, Boston, MA 02111-1307 USA
 
16
 
 
17
*****************************************************************************/
 
18
 
 
19
/**************************************************//**
 
20
@file handler/i_s.h
 
21
InnoDB INFORMATION SCHEMA tables interface to MySQL.
 
22
 
 
23
Created July 18, 2007 Vasil Dimov
 
24
*******************************************************/
 
25
 
 
26
#ifndef i_s_h
 
27
#define i_s_h
 
28
 
 
29
class TrxISMethods : public drizzled::plugin::InfoSchemaMethods
 
30
{
 
31
public:
 
32
  virtual int fillTable(Session *session,
 
33
                        TableList *tables,
 
34
                        COND *cond);
 
35
};
 
36
 
 
37
class LocksISMethods : public drizzled::plugin::InfoSchemaMethods
 
38
{
 
39
public:
 
40
  virtual int fillTable(Session *session,
 
41
                        TableList *tables,
 
42
                        COND *cond);
 
43
};
 
44
 
 
45
class CmpISMethods : public drizzled::plugin::InfoSchemaMethods
 
46
{
 
47
public:
 
48
  virtual int fillTable(Session *session,
 
49
                        TableList *tables,
 
50
                        COND *cond);
 
51
};
 
52
 
 
53
class CmpResetISMethods : public drizzled::plugin::InfoSchemaMethods
 
54
{
 
55
public:
 
56
  virtual int fillTable(Session *session,
 
57
                        TableList *tables,
 
58
                        COND *cond);
 
59
};
 
60
 
 
61
class CmpmemISMethods : public drizzled::plugin::InfoSchemaMethods
 
62
{
 
63
public:
 
64
  virtual int fillTable(Session *session,
 
65
                        TableList *tables,
 
66
                        COND *cond);
 
67
};
 
68
 
 
69
class CmpmemResetISMethods : public drizzled::plugin::InfoSchemaMethods
 
70
{
 
71
public:
 
72
  virtual int fillTable(Session *session,
 
73
                        TableList *tables,
 
74
                        COND *cond);
 
75
};
 
76
 
 
77
int i_s_common_deinit(drizzled::plugin::Registry &registry);
 
78
 
 
79
int innodb_locks_init();
 
80
int innodb_trx_init();
 
81
int innodb_lock_waits_init();
 
82
int i_s_cmp_init();
 
83
int i_s_cmp_reset_init();
 
84
int i_s_cmpmem_init();
 
85
int i_s_cmpmem_reset_init();
 
86
 
 
87
extern drizzled::plugin::InfoSchemaTable *innodb_trx_schema_table;
 
88
extern drizzled::plugin::InfoSchemaTable *innodb_locks_schema_table;
 
89
extern drizzled::plugin::InfoSchemaTable *innodb_lock_waits_schema_table;
 
90
extern drizzled::plugin::InfoSchemaTable *innodb_cmp_schema_table;
 
91
extern drizzled::plugin::InfoSchemaTable *innodb_cmp_reset_schema_table;
 
92
extern drizzled::plugin::InfoSchemaTable *innodb_cmpmem_schema_table;
 
93
extern drizzled::plugin::InfoSchemaTable *innodb_cmpmem_reset_schema_table;
 
94
 
 
95
#endif /* i_s_h */