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
/******************************************************
20
InnoDB INFORMATION SCHEMA tables interface to MySQL.
22
Created July 18, 2007 Vasil Dimov
23
*******************************************************/
28
class TrxISMethods : public InfoSchemaMethods
31
virtual int fillTable(Session *session,
36
class LocksISMethods : public InfoSchemaMethods
39
virtual int fillTable(Session *session,
44
class CmpISMethods : public InfoSchemaMethods
47
virtual int fillTable(Session *session,
52
class CmpResetISMethods : public InfoSchemaMethods
55
virtual int fillTable(Session *session,
60
class CmpmemISMethods : public InfoSchemaMethods
63
virtual int fillTable(Session *session,
68
class CmpmemResetISMethods : public InfoSchemaMethods
71
virtual int fillTable(Session *session,
76
int i_s_common_deinit(drizzled::plugin::Registry ®istry);
78
int innodb_locks_init();
79
int innodb_trx_init();
80
int innodb_lock_waits_init();
82
int i_s_cmp_reset_init();
83
int i_s_cmpmem_init();
84
int i_s_cmpmem_reset_init();
86
extern InfoSchemaTable *innodb_trx_schema_table;
87
extern InfoSchemaTable *innodb_locks_schema_table;
88
extern InfoSchemaTable *innodb_lock_waits_schema_table;
89
extern InfoSchemaTable *innodb_cmp_schema_table;
90
extern InfoSchemaTable *innodb_cmp_reset_schema_table;
91
extern InfoSchemaTable *innodb_cmpmem_schema_table;
92
extern InfoSchemaTable *innodb_cmpmem_reset_schema_table;