~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/neg.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    int64_t val= args[0]->val_int();
74
74
    if ((uint64_t) val >= (uint64_t) INT64_MIN &&
75
75
        ((uint64_t) val != (uint64_t) INT64_MIN ||
76
 
          args[0]->type() != INT_ITEM))        
 
76
          args[0]->type() != INT_ITEM))
77
77
    {
78
78
      /*
79
79
        Ensure that result is converted to DECIMAL, as int64_t can't hold