~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_show.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
}
169
169
 
170
170
 
171
 
int fill_plugins(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
171
int fill_plugins(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
172
172
{
173
173
  TABLE *table= tables->table;
174
174
 
551
551
 
552
552
/* Append directory name (if exists) to CREATE INFO */
553
553
 
554
 
static void append_directory(THD *thd __attribute__((__unused__)),
 
554
static void append_directory(THD *thd __attribute__((unused)),
555
555
                             String *packet, const char *dir_type,
556
556
                             const char *filename)
557
557
{
569
569
 
570
570
#define LIST_PROCESS_HOST_LEN 64
571
571
 
572
 
static bool get_field_default_value(THD *thd __attribute__((__unused__)),
 
572
static bool get_field_default_value(THD *thd __attribute__((unused)),
573
573
                                    Field *timestamp_field,
574
574
                                    Field *field, String *def_value,
575
575
                                    bool quoted)
1045
1045
  return(false);
1046
1046
}
1047
1047
 
1048
 
static void store_key_options(THD *thd __attribute__((__unused__)),
 
1048
static void store_key_options(THD *thd __attribute__((unused)),
1049
1049
                              String *packet, TABLE *table,
1050
1050
                              KEY *key_info)
1051
1051
{
1209
1209
}
1210
1210
 
1211
1211
int fill_schema_processlist(THD* thd, TABLE_LIST* tables,
1212
 
                            COND* cond __attribute__((__unused__)))
 
1212
                            COND* cond __attribute__((unused)))
1213
1213
{
1214
1214
  TABLE *table= tables->table;
1215
1215
  CHARSET_INFO *cs= system_charset_info;
2380
2380
 
2381
2381
static uint get_table_open_method(TABLE_LIST *tables,
2382
2382
                                  ST_SCHEMA_TABLE *schema_table,
2383
 
                                  enum enum_schema_tables schema_table_idx __attribute__((__unused__)))
 
2383
                                  enum enum_schema_tables schema_table_idx __attribute__((unused)))
2384
2384
{
2385
2385
  /*
2386
2386
    determine which method will be used for table opening
2423
2423
                                      ST_SCHEMA_TABLE *schema_table,
2424
2424
                                      LEX_STRING *db_name,
2425
2425
                                      LEX_STRING *table_name,
2426
 
                                      enum enum_schema_tables schema_table_idx __attribute__((__unused__)))
 
2426
                                      enum enum_schema_tables schema_table_idx __attribute__((unused)))
2427
2427
{
2428
2428
  TABLE *table= tables->table;
2429
2429
  TABLE_SHARE *share;
3207
3207
 
3208
3208
 
3209
3209
 
3210
 
int fill_schema_charsets(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3210
int fill_schema_charsets(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3211
3211
{
3212
3212
  CHARSET_INFO **cs;
3213
3213
  const char *wild= thd->lex->wild ? thd->lex->wild->ptr() : NullS;
3238
3238
}
3239
3239
 
3240
3240
 
3241
 
int fill_schema_collation(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3241
int fill_schema_collation(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3242
3242
{
3243
3243
  CHARSET_INFO **cs;
3244
3244
  const char *wild= thd->lex->wild ? thd->lex->wild->ptr() : NullS;
3280
3280
}
3281
3281
 
3282
3282
 
3283
 
int fill_schema_coll_charset_app(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3283
int fill_schema_coll_charset_app(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3284
3284
{
3285
3285
  CHARSET_INFO **cs;
3286
3286
  TABLE *table= tables->table;
3584
3584
}
3585
3585
 
3586
3586
 
3587
 
int fill_open_tables(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3587
int fill_open_tables(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3588
3588
{
3589
3589
  const char *wild= thd->lex->wild ? thd->lex->wild->ptr() : NullS;
3590
3590
  TABLE *table= tables->table;
3608
3608
}
3609
3609
 
3610
3610
 
3611
 
int fill_variables(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3611
int fill_variables(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3612
3612
{
3613
3613
  int res= 0;
3614
3614
  LEX *lex= thd->lex;
3631
3631
}
3632
3632
 
3633
3633
 
3634
 
int fill_status(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((__unused__)))
 
3634
int fill_status(THD *thd, TABLE_LIST *tables, COND *cond __attribute__((unused)))
3635
3635
{
3636
3636
  LEX *lex= thd->lex;
3637
3637
  const char *wild= lex->wild ? lex->wild->ptr() : NullS;
3769
3769
    0   table not found
3770
3770
    1   found the schema table
3771
3771
*/
3772
 
static bool find_schema_table_in_plugin(THD *thd __attribute__((__unused__)),
 
3772
static bool find_schema_table_in_plugin(THD *thd __attribute__((unused)),
3773
3773
                                           plugin_ref plugin,
3774
3774
                                           void* p_table)
3775
3775
{