~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_update.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:
177
177
                 COND *conds,
178
178
                 uint order_num, ORDER *order,
179
179
                 ha_rows limit,
180
 
                 enum enum_duplicates handle_duplicates __attribute__((__unused__)),
 
180
                 enum enum_duplicates handle_duplicates __attribute__((unused)),
181
181
                 bool ignore)
182
182
{
183
183
  bool          using_limit= limit != HA_POS_ERROR;
1046
1046
  Connect fields with tables and create list of tables that are updated
1047
1047
*/
1048
1048
 
1049
 
int multi_update::prepare(List<Item> &not_used_values __attribute__((__unused__)),
1050
 
                          SELECT_LEX_UNIT *lex_unit __attribute__((__unused__)))
 
1049
int multi_update::prepare(List<Item> &not_used_values __attribute__((unused)),
 
1050
                          SELECT_LEX_UNIT *lex_unit __attribute__((unused)))
1051
1051
{
1052
1052
  TABLE_LIST *table_ref;
1053
1053
  SQL_LIST update;
1340
1340
}
1341
1341
 
1342
1342
 
1343
 
bool multi_update::send_data(List<Item> &not_used_values __attribute__((__unused__)))
 
1343
bool multi_update::send_data(List<Item> &not_used_values __attribute__((unused)))
1344
1344
{
1345
1345
  TABLE_LIST *cur_table;
1346
1346