~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema_columns.h

  • Committer: Stewart Smith
  • Date: 2009-07-02 17:18:18 UTC
  • mfrom: (1085 staging)
  • mto: This revision was merged to the branch mainline in revision 1089.
  • Revision ID: stewart@flamingspork.com-20090702171818-qrp4d403iw8tazlg
mergeĀ mainline

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
/**
 
67
 * Create the various columns for the key column usage
 
68
 * I_S table and add them to the std::vector of columns for the
 
69
 * table.
 
70
 *
 
71
 * @param[out] cols vector to add columns to
 
72
 * @return false on success; true on failure
 
73
 */
 
74
bool createKeyColUsageColumns(std::vector<const ColumnInfo *>& cols);
 
75
 
 
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
/**
 
87
 * Create the various columns for the PLUGINS
 
88
 * I_S table and add them to the std::vector of columns for the
 
89
 * table.
 
90
 *
 
91
 * @param[out] cols vector to add columns to
 
92
 * @return false on success; true on failure
 
93
 */
 
94
bool createPluginsColumns(std::vector<const ColumnInfo *>& cols);
 
95
 
 
96
/**
55
97
 * Create the various volumns for the PROCESSLIST I_S table and add them
56
98
 * to the std::vector of columns for the PROCESSLIST table.
57
99
 *
61
103
bool createProcessListColumns(std::vector<const ColumnInfo *>& cols);
62
104
 
63
105
/**
 
106
 * Create the various volumns for the REFERENTIAL_CONSTRAINTS I_S table 
 
107
 * and add them to the std::vector of columns for this table.
 
108
 *
 
109
 * @param[out] cols vector to add columns to
 
110
 * @return false on success; true on failure
 
111
 */
 
112
bool createRefConstraintColumns(std::vector<const ColumnInfo *>& cols);
 
113
 
 
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
/**
 
133
 * Create the various volumns for the TABLE_CONSTRAINTS I_S table 
 
134
 * and add them to the std::vector of columns for this table.
 
135
 *
 
136
 * @param[out] cols vector to add columns to
 
137
 * @return false on success; true on failure
 
138
 */
 
139
bool createTabConstraintsColumns(std::vector<const ColumnInfo *>& cols);
 
140
 
 
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
/**
64
160
 * Iterate through the given vector of columns and delete the memory that
65
161
 * has been allocated for them.
66
162
 *