~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/function/func.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
/// TODO: Rename this file - func.h is stupid.
25
25
 
26
 
#include <drizzled/charset_info.h>
 
26
#include <drizzled/charset.h>
27
27
#include <drizzled/item.h>
28
28
#include <drizzled/item/bin_string.h>
29
29
#include <drizzled/lex_string.h>
32
32
 
33
33
#include <drizzled/visibility.h>
34
34
 
35
 
namespace drizzled
36
 
{
37
 
 
38
 
class DRIZZLED_API Item_func :
39
 
  public Item_result_field
40
 
{
41
 
  Session &_session;
42
 
 
 
35
namespace drizzled {
 
36
 
 
37
class DRIZZLED_API Item_func : public Item_result_field
 
38
{
43
39
protected:
44
40
  Item **args, *tmp_arg[2];
45
41
  /*
164
160
  void traverse_cond(Cond_traverser traverser,
165
161
                     void * arg, traverse_order order);
166
162
  double fix_result(double value);
167
 
 
168
 
  Session &getSession()
169
 
  {
170
 
    return _session;
171
 
  }
172
 
 
173
 
  Session *getSessionPtr()
174
 
  {
175
 
    return &_session;
176
 
  }
177
 
 
178
163
};
179
164
 
180
165
} /* namespace drizzled */