~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/sql_union.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 16:33:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709163352-yv7jbu81frc1l4ec
Finished the warnings work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "mysql_priv.h"
24
24
#include "sql_select.h"
25
25
 
26
 
bool mysql_union(THD *thd, LEX *lex, select_result *result,
 
26
bool mysql_union(THD *thd,
 
27
                 LEX *lex __attribute__((__unused__)),
 
28
                 select_result *result,
27
29
                 SELECT_LEX_UNIT *unit, ulong setup_tables_done_option)
28
30
{
29
31
  DBUG_ENTER("mysql_union");
41
43
** store records in temporary table for UNION
42
44
***************************************************************************/
43
45
 
44
 
int select_union::prepare(List<Item> &list, SELECT_LEX_UNIT *u)
 
46
int select_union::prepare(List<Item> &list __attribute__((__unused__)),
 
47
                          SELECT_LEX_UNIT *u)
45
48
{
46
49
  unit= u;
47
50
  return 0;