~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema.cc

Updates for DD.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "referential_constraints.h"
34
34
#include "table_constraints.h"
35
35
#include "statistics.h"
36
 
#include "status.h"
37
 
#include "variables.h"
38
36
 
39
37
#include <vector>
40
38
 
50
48
static int infoSchemaInit(drizzled::plugin::Registry& registry)
51
49
{
52
50
  registry.add(ColumnsIS::getTable());
53
 
  registry.add(GlobalStatusIS::getTable());
54
 
  registry.add(SessionVariablesIS::getTable());
55
 
  registry.add(GlobalVariablesIS::getTable());
56
 
  registry.add(SessionStatusIS::getTable());
57
51
  registry.add(ReferentialConstraintsIS::getTable());
58
52
  registry.add(TableConstraintsIS::getTable());
59
 
  registry.add(StatusIS::getTable());
60
53
  registry.add(KeyColumnUsageIS::getTable());
61
 
  registry.add(VariablesIS::getTable());
62
54
  registry.add(StatisticsIS::getTable());
63
55
#if 0
64
56
#endif
80
72
  registry.remove(KeyColumnUsageIS::getTable());
81
73
  KeyColumnUsageIS::cleanup();
82
74
 
83
 
  registry.remove(GlobalStatusIS::getTable());
84
 
  GlobalStatusIS::cleanup();
85
 
 
86
 
  registry.remove(GlobalVariablesIS::getTable());
87
 
  GlobalVariablesIS::cleanup();
88
 
 
89
75
  registry.remove(ReferentialConstraintsIS::getTable());
90
76
  ReferentialConstraintsIS::cleanup();
91
77
 
92
 
  registry.remove(SessionStatusIS::getTable());
93
 
  SessionStatusIS::cleanup();
94
 
 
95
 
  registry.remove(SessionVariablesIS::getTable());
96
 
  SessionVariablesIS::cleanup();
97
 
 
98
78
  registry.remove(StatisticsIS::getTable());
99
79
  StatisticsIS::cleanup();
100
80
 
101
 
  registry.remove(StatusIS::getTable());
102
 
  StatusIS::cleanup();
103
 
 
104
81
  registry.remove(TableConstraintsIS::getTable());
105
82
  TableConstraintsIS::cleanup();
106
83
 
107
 
  registry.remove(VariablesIS::getTable());
108
 
  VariablesIS::cleanup();
109
 
 
110
84
  return 0;
111
85
}
112
86