~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-02-11 22:43:58 UTC
  • Revision ID: brian@gaz-20100211224358-y0gdvnat2ahg4c1e
Disabling support for memcached plugins until we can test for version of
memcached.

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