~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/info_schema/info_schema.cc

Fixed -Wmissing-declarations

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 *
94
94
 * @return false on success; true on failure.
95
95
 */
96
 
bool initTableColumns()
 
96
static bool initTableColumns()
97
97
{
98
98
  bool retval= false;
99
99
 
173
173
/**
174
174
 * Clear the vectors of columns for each I_S table.
175
175
 */
176
 
void cleanupTableColumns()
 
176
static void cleanupTableColumns()
177
177
{
178
178
  clearColumns(char_set_columns);
179
179
  clearColumns(collation_columns);
196
196
 *
197
197
 * @return false on success; true on failure
198
198
 */
199
 
bool initTableMethods()
 
199
static bool initTableMethods()
200
200
{
201
201
  if ((char_set_methods= new(std::nothrow) CharSetISMethods()) == NULL)
202
202
  {
274
274
/**
275
275
 * Delete memory allocated for the I_S table methods.
276
276
 */
277
 
void cleanupTableMethods()
 
277
static void cleanupTableMethods()
278
278
{
279
279
  delete char_set_methods;
280
280
  delete collation_methods;
297
297
 *
298
298
 * @return false on success; true on failure
299
299
 */
300
 
bool initTables()
 
300
static bool initTables()
301
301
{
302
302
 
303
303
  char_set_table= new(std::nothrow) InfoSchemaTable("CHARACTER_SETS",
438
438
/**
439
439
 * Delete memory allocated for the I_S tables.
440
440
 */
441
 
void cleanupTables()
 
441
static void cleanupTables()
442
442
{
443
443
  delete char_set_table;
444
444
  delete collation_table;
462
462
 * @param[in] registry the PluginRegistry singleton
463
463
 * @return 0 on success; 1 on failure.
464
464
 */
465
 
int infoSchemaInit(PluginRegistry& registry)
 
465
static int infoSchemaInit(PluginRegistry& registry)
466
466
{
467
467
  bool retval= false;
468
468
 
505
505
 * @param[in] registry the PluginRegistry singleton
506
506
 * @return 0 on success; 1 on failure
507
507
 */
508
 
int infoSchemaDone(PluginRegistry& registry)
 
508
static int infoSchemaDone(PluginRegistry& registry)
509
509
{
510
510
  registry.remove(char_set_table);
511
511
  registry.remove(collation_table);