~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/dictionary.cc

  • Committer: Brian Aker
  • Date: 2010-03-02 01:04:20 UTC
  • mto: (1309.2.12 build)
  • mto: This revision was merged to the branch mainline in revision 1317.
  • Revision ID: brian@gaz-20100302010420-4in192er50qlv1bv
New version of show columns code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
static ReferentialConstraintsTool *referential_constraints;
30
30
static SchemasTool *schemas;
31
31
static SchemaNames *schema_names;
 
32
static ShowColumns *show_columns;
32
33
static ShowIndexes *show_indexes;
33
34
static TableConstraintsTool *table_constraints;
34
35
static TablesTool *tables;
46
47
  local_tables= new(std::nothrow)TableNames;
47
48
  schema_names= new(std::nothrow)SchemaNames;
48
49
  show_indexes= new(std::nothrow)ShowIndexes;
 
50
  show_columns= new(std::nothrow)ShowColumns;
49
51
  table_constraints= new(std::nothrow)TableConstraintsTool;
50
52
  table_status= new(std::nothrow)TableStatus;
51
53
  tables= new(std::nothrow)TablesTool;
58
60
  registry.add(schema_names);
59
61
  registry.add(schemas);
60
62
  registry.add(show_indexes);
 
63
  registry.add(show_columns);
61
64
  registry.add(table_constraints);
62
65
  registry.add(table_status);
63
66
  registry.add(tables);
75
78
  registry.remove(schema_names);
76
79
  registry.remove(schemas);
77
80
  registry.remove(show_indexes);
 
81
  registry.remove(show_columns);
78
82
  registry.remove(table_constraints);
79
83
  registry.remove(table_status);
80
84
  registry.remove(tables);
85
89
  delete referential_constraints;
86
90
  delete schema_names;
87
91
  delete schemas;
 
92
  delete show_columns;
88
93
  delete show_indexes;
89
94
  delete table_constraints;
90
95
  delete table_status;