50
50
if (strcmp(path, "./data_dictionary/character_sets") == 0)
51
51
return &character_sets;
52
else if (strcmp(path, "./data_dictionary/collation_character_set_applicability") == 0)
53
return &collation_character_set_applicability;
52
54
else if (strcmp(path, "./data_dictionary/collations") == 0)
53
55
return &collations;
54
else if (strcmp(path, "./data_dictionary/collation_character_set_applicability") == 0)
55
return &collation_character_set_applicability;
56
else if (strcmp(path, "./data_dictionary/processlist") == 0)
56
else if (strcmp(path, "./data_dictionary/columns") == 0)
58
else if (strcmp(path, "./data_dictionary/global_status") == 0)
59
return &global_status;
60
else if (strcmp(path, "./data_dictionary/global_variables") == 0)
61
return &global_variables;
62
else if (strcmp(path, "./data_dictionary/key_column_usage") == 0)
63
return &key_column_usage;
58
64
else if (strcmp(path, "./data_dictionary/modules") == 0)
60
66
else if (strcmp(path, "./data_dictionary/plugins") == 0)
68
else if (strcmp(path, "./data_dictionary/processlist") == 0)
70
else if (strcmp(path, "./data_dictionary/statistics") == 0)
63
73
fprintf(stderr, "\n %s\n", path);
64
74
assert(path == NULL);
94
111
collation_character_set_applicability.define(*table_proto);
97
else if (strcmp(path, "./data_dictionary/character_sets") == 0)
101
character_sets.define(*table_proto);
114
else if (strcmp(path, "./data_dictionary/columns") == 0)
118
columns.define(*table_proto);
121
else if (strcmp(path, "./data_dictionary/global_status") == 0)
125
global_status.define(*table_proto);
128
else if (strcmp(path, "./data_dictionary/global_variables") == 0)
132
global_variables.define(*table_proto);
135
else if (strcmp(path, "./data_dictionary/key_column_usage") == 0)
139
key_column_usage.define(*table_proto);
142
else if (strcmp(path, "./data_dictionary/modules") == 0)
146
modules.define(*table_proto);
104
149
else if (strcmp(path, "./data_dictionary/processlist") == 0)
108
153
processlist.define(*table_proto);
111
else if (strcmp(path, "./data_dictionary/modules") == 0)
115
modules.define(*table_proto);
118
156
else if (strcmp(path, "./data_dictionary/plugins") == 0)
121
159
plugins.define(*table_proto);
161
else if (strcmp(path, "./data_dictionary/statistics") == 0)
165
statistics.define(*table_proto);
139
184
set_of_names.insert("CHARACTER_SETS");
140
185
set_of_names.insert("COLLATIONS");
141
186
set_of_names.insert("COLLATION_CHARACTER_SET_APPLICABILITY");
187
set_of_names.insert("COLUMNS");
188
set_of_names.insert("GLOBAL_STATUS");
189
set_of_names.insert("GLOBAL_STATUS");
190
set_of_names.insert("GLOBAL_VARIABLES");
191
set_of_names.insert("GLOBAL_VARIABLES");
192
set_of_names.insert("KEY_COLUMN_USAGE");
142
193
set_of_names.insert("MODULES");
143
194
set_of_names.insert("PLUGINS");
144
195
set_of_names.insert("PROCESSLIST");
196
set_of_names.insert("REFERENTIAL_CONSTRAINTS");
197
set_of_names.insert("SCHEMATA");
198
set_of_names.insert("SESSION_STATUS");
199
set_of_names.insert("SESSION_VARIABLES");
200
set_of_names.insert("STATISTICS");
201
set_of_names.insert("TABLES");
202
set_of_names.insert("TABLE_CONSTRAINTS");