~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema_columns.h

Merge for Padraig 

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include "drizzled/info_schema.h"
25
25
 
 
26
#include <vector>
 
27
 
26
28
/**
27
29
 * Create the various columns for the CHARACTER_SET I_S table and add them
28
30
 * to the std::vector of columns for the CHARACTER_SET table.
52
54
bool createCollCharSetColumns(std::vector<const ColumnInfo *>& cols);
53
55
 
54
56
/**
 
57
 * Create the various columns for the COLUMNS
 
58
 * I_S table and add them to the std::vector of columns for the
 
59
 * table.
 
60
 *
 
61
 * @param[out] cols vector to add columns to
 
62
 * @return false on success; true on failure
 
63
 */
 
64
bool createColColumns(std::vector<const ColumnInfo *>& cols);
 
65
 
 
66
/**
55
67
 * Create the various columns for the key column usage
56
68
 * I_S table and add them to the std::vector of columns for the
57
69
 * table.
62
74
bool createKeyColUsageColumns(std::vector<const ColumnInfo *>& cols);
63
75
 
64
76
/**
 
77
 * Create the various columns for the OPEN_TABLES
 
78
 * I_S table and add them to the std::vector of columns for the
 
79
 * table.
 
80
 *
 
81
 * @param[out] cols vector to add columns to
 
82
 * @return false on success; true on failure
 
83
 */
 
84
bool createOpenTabColumns(std::vector<const ColumnInfo *>& cols);
 
85
 
 
86
/**
65
87
 * Create the various columns for the PLUGINS
66
88
 * I_S table and add them to the std::vector of columns for the
67
89
 * table.
90
112
bool createRefConstraintColumns(std::vector<const ColumnInfo *>& cols);
91
113
 
92
114
/**
 
115
 * Create the various volumns for the SCHEMATA I_S table 
 
116
 * and add them to the std::vector of columns for this table.
 
117
 *
 
118
 * @param[out] cols vector to add columns to
 
119
 * @return false on success; true on failure
 
120
 */
 
121
bool createSchemataColumns(std::vector<const ColumnInfo *>& cols);
 
122
 
 
123
/**
 
124
 * Create the various volumns for the STATISTICS I_S table 
 
125
 * and add them to the std::vector of columns for this table.
 
126
 *
 
127
 * @param[out] cols vector to add columns to
 
128
 * @return false on success; true on failure
 
129
 */
 
130
bool createStatsColumns(std::vector<const ColumnInfo *>& cols);
 
131
 
 
132
/**
93
133
 * Create the various volumns for the TABLE_CONSTRAINTS I_S table 
94
134
 * and add them to the std::vector of columns for this table.
95
135
 *
99
139
bool createTabConstraintsColumns(std::vector<const ColumnInfo *>& cols);
100
140
 
101
141
/**
 
142
 * Create the various volumns for the TABLE_NAMES I_S table 
 
143
 * and add them to the std::vector of columns for this table.
 
144
 *
 
145
 * @param[out] cols vector to add columns to
 
146
 * @return false on success; true on failure
 
147
 */
 
148
bool createTablesColumns(std::vector<const ColumnInfo *>& cols);
 
149
 
 
150
/**
 
151
 * Create the various volumns for the TABLE_NAMES I_S table 
 
152
 * and add them to the std::vector of columns for this table.
 
153
 *
 
154
 * @param[out] cols vector to add columns to
 
155
 * @return false on success; true on failure
 
156
 */
 
157
bool createTabNamesColumns(std::vector<const ColumnInfo *>& cols);
 
158
 
 
159
/**
102
160
 * Iterate through the given vector of columns and delete the memory that
103
161
 * has been allocated for them.
104
162
 *