~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

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
InnoDB INFORMATION SCHEMA tables interface to MySQL.
 
21
 
 
22
Created July 18, 2007 Vasil Dimov
 
23
*******************************************************/
 
24
 
 
25
#ifndef i_s_h
 
26
#define i_s_h
 
27
 
 
28
class TrxISMethods : public InfoSchemaMethods
 
29
{
 
30
public:
 
31
  virtual int fillTable(Session *session,
 
32
                        TableList *tables,
 
33
                        COND *cond);
 
34
};
 
35
 
 
36
class LocksISMethods : public InfoSchemaMethods
 
37
{
 
38
public:
 
39
  virtual int fillTable(Session *session,
 
40
                        TableList *tables,
 
41
                        COND *cond);
 
42
};
 
43
 
 
44
class CmpISMethods : public InfoSchemaMethods
 
45
{
 
46
public:
 
47
  virtual int fillTable(Session *session,
 
48
                        TableList *tables,
 
49
                        COND *cond);
 
50
};
 
51
 
 
52
class CmpResetISMethods : public InfoSchemaMethods
 
53
{
 
54
public:
 
55
  virtual int fillTable(Session *session,
 
56
                        TableList *tables,
 
57
                        COND *cond);
 
58
};
 
59
 
 
60
class CmpmemISMethods : public InfoSchemaMethods
 
61
{
 
62
public:
 
63
  virtual int fillTable(Session *session,
 
64
                        TableList *tables,
 
65
                        COND *cond);
 
66
};
 
67
 
 
68
class CmpmemResetISMethods : public InfoSchemaMethods
 
69
{
 
70
public:
 
71
  virtual int fillTable(Session *session,
 
72
                        TableList *tables,
 
73
                        COND *cond);
 
74
};
 
75
 
 
76
int i_s_common_deinit(drizzled::plugin::Registry &registry);
 
77
 
 
78
int innodb_locks_init();
 
79
int innodb_trx_init();
 
80
int innodb_lock_waits_init();
 
81
int i_s_cmp_init();
 
82
int i_s_cmp_reset_init();
 
83
int i_s_cmpmem_init();
 
84
int i_s_cmpmem_reset_init();
 
85
 
 
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;
 
93
 
 
94
#endif /* i_s_h */