~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_union.h

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

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
 
namespace drizzled
25
 
{
26
24
 
27
25
class select_union :public select_result_interceptor
28
26
{
30
28
public:
31
29
  Table *table;
32
30
 
33
 
  select_union() :table(0) { }
34
 
  ~select_union() { }
35
 
 
 
31
  select_union() :table(0) {}
36
32
  int prepare(List<Item> &list, Select_Lex_Unit *u);
37
33
  bool send_data(List<Item> &items);
38
34
  bool send_eof();
40
36
  void cleanup();
41
37
  bool create_result_table(Session *session, List<Item> *column_types,
42
38
                           bool is_distinct, uint64_t options,
43
 
                           const char *alias);
 
39
                           const char *alias, bool bit_fields_as_long);
44
40
};
45
41
 
46
 
} /* namespace drizzled */
47
 
 
48
42
#endif /* DRIZZLED_SELECT_UNION_H */