1
/*****************************************************************************
3
Copyright (c) 2007, 2009, Innobase Oy. All Rights Reserved.
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.
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.
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
17
*****************************************************************************/
19
/**************************************************//**
21
InnoDB INFORMATION SCHEMA tables interface to MySQL.
23
Created July 18, 2007 Vasil Dimov
24
*******************************************************/
29
#include "drizzled/plugin/info_schema_table.h"
31
class TrxISMethods : public drizzled::plugin::InfoSchemaMethods
34
virtual int fillTable(drizzled::Session *session,
35
drizzled::Table *table,
36
drizzled::plugin::InfoSchemaTable *schema_table);
39
class LocksISMethods : public drizzled::plugin::InfoSchemaMethods
42
virtual int fillTable(drizzled::Session *session,
43
drizzled::Table *table,
44
drizzled::plugin::InfoSchemaTable *schema_table);
47
class CmpISMethods : public drizzled::plugin::InfoSchemaMethods
50
virtual int fillTable(drizzled::Session *session,
51
drizzled::Table *table,
52
drizzled::plugin::InfoSchemaTable *schema_table);
55
class CmpResetISMethods : public drizzled::plugin::InfoSchemaMethods
58
virtual int fillTable(drizzled::Session *session,
59
drizzled::Table *table,
60
drizzled::plugin::InfoSchemaTable *schema_table);
63
class CmpmemISMethods : public drizzled::plugin::InfoSchemaMethods
66
virtual int fillTable(drizzled::Session *session,
67
drizzled::Table *table,
68
drizzled::plugin::InfoSchemaTable *schema_table);
71
class CmpmemResetISMethods : public drizzled::plugin::InfoSchemaMethods
74
virtual int fillTable(drizzled::Session *session,
75
drizzled::Table *table,
76
drizzled::plugin::InfoSchemaTable *schema_table);
79
int i_s_common_deinit(drizzled::plugin::Registry ®istry);
81
int innodb_locks_init();
82
int innodb_trx_init();
83
int innodb_lock_waits_init();
85
int i_s_cmp_reset_init();
86
int i_s_cmpmem_init();
87
int i_s_cmpmem_reset_init();
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;