~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/str/hex.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:
35
35
        args[0]->result_type() == DECIMAL_RESULT)
36
36
    {
37
37
      double val= args[0]->val_real();
38
 
      if ((val <= (double) INT64_MIN) || 
 
38
      if ((val <= (double) INT64_MIN) ||
39
39
          (val >= (double) (uint64_t) UINT64_MAX))
40
40
        dec=  ~(int64_t) 0;
41
41
      else