~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Tim Penhey
  • Date: 2010-01-20 02:39:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1275.
  • Revision ID: tim.penhey@canonical.com-20100120023901-8teeunid6gwlthzx
Add in a rot 13 function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include "config.h"
21
 
 
 
21
#include CSTDINT_H
22
22
#include <drizzled/function/math/neg.h>
23
23
 
24
 
namespace drizzled
25
 
{
26
 
 
27
24
double Item_func_neg::real_op()
28
25
{
29
26
  double value= args[0]->val_real();
88
85
  unsigned_flag= 0;
89
86
  return;
90
87
}
91
 
 
92
 
} /* namespace drizzled */