~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/units.h

  • Committer: Monty Taylor
  • Date: 2009-12-25 02:37:09 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1258.
  • Revision ID: mordred@inaugust.com-20091225023709-r5xr0agiyzyfbhin
pandora-buildĀ v0.88

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 */