~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-12-24 07:53:15 UTC
  • mfrom: (2024.1.3 clean)
  • Revision ID: brian@tangent.org-20101224075315-qiwlw4rc1bwx1p2m
Merge in CAST.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
{
37
37
  int64_t value= args[0]->val_int();
38
38
  null_value= args[0]->null_value;
 
39
 
39
40
  return -value;
40
41
}
41
42
 
85
86
      hybrid_type= DECIMAL_RESULT;
86
87
    }
87
88
  }
88
 
  unsigned_flag= 0;
89
 
  return;
 
89
  unsigned_flag= false;
90
90
}
91
91
 
92
92
} /* namespace drizzled */