~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/units.h

  • Committer: Brian Aker
  • Date: 2009-06-16 00:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: brian@gaz-20090616005322-w0ode4jul9z8s2y9
Partial fix for tests for tmp

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
23
23
#include <drizzled/function/func.h>
24
24
#include <drizzled/function/math/real.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
class Item_func_units :public Item_real_func
30
27
{
31
28
  char *name;
39
36
  { decimals= NOT_FIXED_DEC; max_length= float_length(decimals); }
40
37
};
41
38
 
42
 
} /* namespace drizzled */
43
 
 
44
39
#endif /* DRIZZLED_FUNCTION_UNITS_H */