~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/neg.h

  • Committer: Brian Aker
  • Date: 2009-10-15 00:22:33 UTC
  • mto: (1183.1.11 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@gaz-20091015002233-fa4ao2mbc67wls91
First pass of information engine. OMG, ponies... is it so much easier to
deal with creating and engine.

The list table iterator though... its ass, needs to go. We should also
abstract out share. Very few engines need a custom one. Just say'in

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/function/func.h>
24
24
#include <drizzled/function/num1.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
class Item_func_neg :public Item_func_num1
30
27
{
31
28
public:
40
37
  uint32_t decimal_precision() const { return args[0]->decimal_precision(); }
41
38
};
42
39
 
43
 
} /* namespace drizzled */
44
 
 
45
40
#endif /* DRIZZLED_FUNCTION_MATH_NEG_H */