~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merge of show work (updates, a bit faster)

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
 
#if 0
30
 
#include "drizzled/plugin/info_schema_table.h"
31
 
 
32
 
class TrxISMethods : public drizzled::plugin::InfoSchemaMethods
33
 
{
34
 
public:
35
 
  virtual int fillTable(drizzled::Session *session,
36
 
                        drizzled::Table *table,
37
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
38
 
};
39
 
 
40
 
class LocksISMethods : public drizzled::plugin::InfoSchemaMethods
41
 
{
42
 
public:
43
 
  virtual int fillTable(drizzled::Session *session,
44
 
                        drizzled::Table *table,
45
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
46
 
};
47
 
 
48
 
class CmpISMethods : public drizzled::plugin::InfoSchemaMethods
49
 
{
50
 
public:
51
 
  virtual int fillTable(drizzled::Session *session,
52
 
                        drizzled::Table *table,
53
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
54
 
};
55
 
 
56
 
class CmpResetISMethods : public drizzled::plugin::InfoSchemaMethods
57
 
{
58
 
public:
59
 
  virtual int fillTable(drizzled::Session *session,
60
 
                        drizzled::Table *table,
61
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
62
 
};
63
 
 
64
 
class CmpmemISMethods : public drizzled::plugin::InfoSchemaMethods
65
 
{
66
 
public:
67
 
  virtual int fillTable(drizzled::Session *session,
68
 
                        drizzled::Table *table,
69
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
70
 
};
71
 
 
72
 
class CmpmemResetISMethods : public drizzled::plugin::InfoSchemaMethods
73
 
{
74
 
public:
75
 
  virtual int fillTable(drizzled::Session *session,
76
 
                        drizzled::Table *table,
77
 
                        drizzled::plugin::InfoSchemaTable *schema_table);
78
 
};
79
 
 
80
 
int i_s_common_deinit(drizzled::plugin::Registry &registry);
81
 
 
82
 
int innodb_locks_init();
83
 
int innodb_trx_init();
84
 
int innodb_lock_waits_init();
85
 
int i_s_cmp_init();
86
 
int i_s_cmp_reset_init();
87
 
int i_s_cmpmem_init();
88
 
int i_s_cmpmem_reset_init();
89
 
 
90
 
extern drizzled::plugin::InfoSchemaTable *innodb_trx_schema_table;
91
 
extern drizzled::plugin::InfoSchemaTable *innodb_locks_schema_table;
92
 
extern drizzled::plugin::InfoSchemaTable *innodb_lock_waits_schema_table;
93
 
extern drizzled::plugin::InfoSchemaTable *innodb_cmp_schema_table;
94
 
extern drizzled::plugin::InfoSchemaTable *innodb_cmp_reset_schema_table;
95
 
extern drizzled::plugin::InfoSchemaTable *innodb_cmpmem_schema_table;
96
 
extern drizzled::plugin::InfoSchemaTable *innodb_cmpmem_reset_schema_table;
97
 
#endif
98
 
 
99
 
#endif /* i_s_h */