~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/table.cc

Renamed __attribute__((__unused__)) to __attribute__((unused)). 
It takes up a few less chars, but also seems to be the standard usage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2225
2225
    that are present in this value, returns the length of the value
2226
2226
*/
2227
2227
uint calculate_key_len(TABLE *table, uint key,
2228
 
                       const uchar *buf __attribute__((__unused__)),
 
2228
                       const uchar *buf __attribute__((unused)),
2229
2229
                       key_part_map keypart_map)
2230
2230
{
2231
2231
  /* works only with key prefixes */
2899
2899
  return create_view_field(thd, view, &ptr->item, ptr->name);
2900
2900
}
2901
2901
 
2902
 
Item *create_view_field(THD *thd __attribute__((__unused__)),
 
2902
Item *create_view_field(THD *thd __attribute__((unused)),
2903
2903
                        TABLE_LIST *view, Item **field_ref,
2904
 
                        const char *name __attribute__((__unused__)))
 
2904
                        const char *name __attribute__((unused)))
2905
2905
{
2906
2906
  if (view->schema_table_reformed)
2907
2907
  {
3653
3653
  FRMTYPE_TABLE       table
3654
3654
*/
3655
3655
 
3656
 
frm_type_enum mysql_frm_type(THD *thd __attribute__((__unused__)),
 
3656
frm_type_enum mysql_frm_type(THD *thd __attribute__((unused)),
3657
3657
                             char *path, enum legacy_db_type *dbt)
3658
3658
{
3659
3659
  File file;