~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_union.h

  • Committer: Monty Taylor
  • Date: 2009-03-03 07:39:39 UTC
  • mto: This revision was merged to the branch mainline in revision 910.
  • Revision ID: mordred@inaugust.com-20090303073939-rfswfdo68klfcp1o
Updated comment version indicators to handle drizzle versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
21
21
#ifndef DRIZZLED_SELECT_UNION_H
22
22
#define DRIZZLED_SELECT_UNION_H
23
23
 
24
 
#include <drizzled/select_result_interceptor.h>
25
 
#include <drizzled/tmp_table_param.h>
26
 
 
27
 
namespace drizzled
28
 
{
29
24
 
30
25
class select_union :public select_result_interceptor
31
26
{
33
28
public:
34
29
  Table *table;
35
30
 
36
 
  select_union() :table(0) { }
37
 
  ~select_union() { }
38
 
 
 
31
  select_union() :table(0) {}
39
32
  int prepare(List<Item> &list, Select_Lex_Unit *u);
40
33
  bool send_data(List<Item> &items);
41
34
  bool send_eof();
43
36
  void cleanup();
44
37
  bool create_result_table(Session *session, List<Item> *column_types,
45
38
                           bool is_distinct, uint64_t options,
46
 
                           const char *alias);
 
39
                           const char *alias, bool bit_fields_as_long);
47
40
};
48
41
 
49
 
} /* namespace drizzled */
50
 
 
51
42
#endif /* DRIZZLED_SELECT_UNION_H */