~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema.cc

  • Committer: Brian Aker
  • Date: 2010-02-14 02:02:48 UTC
  • mfrom: (1273.13.64 fix_is)
  • Revision ID: brian@gaz-20100214020248-bhovaejhz9fmer3q
MergeĀ inĀ data_dictionary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "drizzled/show.h"
29
29
 
30
30
#include "helper_methods.h"
31
 
#include "character_set.h"
32
 
#include "collation.h"
33
 
#include "collation_char_set.h"
34
31
#include "columns.h"
35
32
#include "key_column_usage.h"
36
 
#include "modules.h"
37
 
#include "open_tables.h"
38
 
#include "plugins.h"
39
 
#include "processlist.h"
40
33
#include "referential_constraints.h"
41
 
#include "schemata.h"
42
34
#include "table_constraints.h"
43
 
#include "tables.h"
44
 
#include "table_names.h"
45
35
#include "statistics.h"
46
36
#include "status.h"
47
37
#include "variables.h"
59
49
 */
60
50
static int infoSchemaInit(drizzled::plugin::Registry& registry)
61
51
{
62
 
  registry.add(CharacterSetIS::getTable());
63
 
  registry.add(CollationIS::getTable());
64
 
  registry.add(CollationCharSetIS::getTable());
65
52
  registry.add(ColumnsIS::getTable());
66
 
  registry.add(KeyColumnUsageIS::getTable());
67
53
  registry.add(GlobalStatusIS::getTable());
 
54
  registry.add(SessionVariablesIS::getTable());
68
55
  registry.add(GlobalVariablesIS::getTable());
69
 
  registry.add(OpenTablesIS::getTable());
70
 
  registry.add(ModulesIS::getTable());
71
 
  registry.add(PluginsIS::getTable());
72
 
  registry.add(ProcessListIS::getTable());
 
56
  registry.add(SessionStatusIS::getTable());
73
57
  registry.add(ReferentialConstraintsIS::getTable());
74
 
  registry.add(SchemataIS::getTable());
75
 
  registry.add(SessionStatusIS::getTable());
76
 
  registry.add(SessionVariablesIS::getTable());
77
 
  registry.add(StatisticsIS::getTable());
 
58
  registry.add(TableConstraintsIS::getTable());
78
59
  registry.add(StatusIS::getTable());
79
 
  registry.add(TableConstraintsIS::getTable());
80
 
  registry.add(TablesIS::getTable());
81
 
  registry.add(TableNamesIS::getTable());
 
60
  registry.add(KeyColumnUsageIS::getTable());
82
61
  registry.add(VariablesIS::getTable());
 
62
  registry.add(StatisticsIS::getTable());
 
63
#if 0
 
64
#endif
83
65
 
84
66
  return 0;
85
67
}
92
74
 */
93
75
static int infoSchemaDone(drizzled::plugin::Registry& registry)
94
76
{
95
 
  registry.remove(CharacterSetIS::getTable());
96
 
  CharacterSetIS::cleanup();
97
 
 
98
 
  registry.remove(CollationIS::getTable());
99
 
  CollationIS::cleanup();
100
 
 
101
 
  registry.remove(CollationCharSetIS::getTable());
102
 
  CollationCharSetIS::cleanup();
103
 
 
104
77
  registry.remove(ColumnsIS::getTable());
105
78
  ColumnsIS::cleanup();
106
79
 
113
86
  registry.remove(GlobalVariablesIS::getTable());
114
87
  GlobalVariablesIS::cleanup();
115
88
 
116
 
  registry.remove(OpenTablesIS::getTable());
117
 
  OpenTablesIS::cleanup();
118
 
 
119
 
  registry.remove(ModulesIS::getTable());
120
 
  ModulesIS::cleanup();
121
 
 
122
 
  registry.remove(PluginsIS::getTable());
123
 
  PluginsIS::cleanup();
124
 
 
125
 
  registry.remove(ProcessListIS::getTable());
126
 
  ProcessListIS::cleanup();
127
 
 
128
89
  registry.remove(ReferentialConstraintsIS::getTable());
129
90
  ReferentialConstraintsIS::cleanup();
130
91
 
131
 
  registry.remove(SchemataIS::getTable());
132
 
  SchemataIS::cleanup();
133
 
 
134
92
  registry.remove(SessionStatusIS::getTable());
135
93
  SessionStatusIS::cleanup();
136
94
 
146
104
  registry.remove(TableConstraintsIS::getTable());
147
105
  TableConstraintsIS::cleanup();
148
106
 
149
 
  registry.remove(TablesIS::getTable());
150
 
  TablesIS::cleanup();
151
 
 
152
 
  registry.remove(TableNamesIS::getTable());
153
 
  TableNamesIS::cleanup();
154
 
 
155
107
  registry.remove(VariablesIS::getTable());
156
108
  VariablesIS::cleanup();
157
109