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
*******************************************************/
30
#include "drizzled/plugin/info_schema_table.h"
32
class TrxISMethods : public drizzled::plugin::InfoSchemaMethods
35
virtual int fillTable(drizzled::Session *session,
36
drizzled::Table *table,
37
drizzled::plugin::InfoSchemaTable *schema_table);
40
class LocksISMethods : public drizzled::plugin::InfoSchemaMethods
43
virtual int fillTable(drizzled::Session *session,
44
drizzled::Table *table,
45
drizzled::plugin::InfoSchemaTable *schema_table);
48
class CmpISMethods : public drizzled::plugin::InfoSchemaMethods
51
virtual int fillTable(drizzled::Session *session,
52
drizzled::Table *table,
53
drizzled::plugin::InfoSchemaTable *schema_table);
56
class CmpResetISMethods : public drizzled::plugin::InfoSchemaMethods
59
virtual int fillTable(drizzled::Session *session,
60
drizzled::Table *table,
61
drizzled::plugin::InfoSchemaTable *schema_table);
64
class CmpmemISMethods : public drizzled::plugin::InfoSchemaMethods
67
virtual int fillTable(drizzled::Session *session,
68
drizzled::Table *table,
69
drizzled::plugin::InfoSchemaTable *schema_table);
72
class CmpmemResetISMethods : public drizzled::plugin::InfoSchemaMethods
75
virtual int fillTable(drizzled::Session *session,
76
drizzled::Table *table,
77
drizzled::plugin::InfoSchemaTable *schema_table);
80
int i_s_common_deinit(drizzled::plugin::Registry ®istry);
82
int innodb_locks_init();
83
int innodb_trx_init();
84
int innodb_lock_waits_init();
86
int i_s_cmp_reset_init();
87
int i_s_cmpmem_init();
88
int i_s_cmpmem_reset_init();
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;