~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_union.cc

  • Committer: Monty Taylor
  • Date: 2008-11-04 13:22:55 UTC
  • mto: (575.1.7 fix-headers)
  • mto: This revision was merged to the branch mainline in revision 577.
  • Revision ID: monty@inaugust.com-20081104132255-l9dhglk4ix6vd3u7
Changed a bunch of __attribute__((unused)) to removing the parameter name instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/sql_select.h>
22
22
#include <drizzled/error.h>
23
23
 
24
 
bool mysql_union(Session *session,
25
 
                 LEX *lex __attribute__((unused)),
26
 
                 select_result *result,
 
24
bool mysql_union(Session *session, LEX *, select_result *result,
27
25
                 SELECT_LEX_UNIT *unit, ulong setup_tables_done_option)
28
26
{
29
27
  bool res;
40
38
** store records in temporary table for UNION
41
39
***************************************************************************/
42
40
 
43
 
int select_union::prepare(List<Item> &list __attribute__((unused)),
44
 
                          SELECT_LEX_UNIT *u)
 
41
int select_union::prepare(List<Item> &, SELECT_LEX_UNIT *u)
45
42
{
46
43
  unit= u;
47
44
  return 0;