~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/long.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:
39
39
  long store_tmp;
40
40
  int error;
41
41
  int64_t rnd;
42
 
  
 
42
 
43
43
  error= get_int(cs, from, len, &rnd, UINT32_MAX, INT32_MIN, INT32_MAX);
44
44
  store_tmp= (long) rnd;
45
45
#ifdef WORDS_BIGENDIAN
95
95
 
96
96
  if (nr < 0 && unsigned_val)
97
97
    nr= ((int64_t) INT32_MAX) + 1;           // Generate overflow
98
 
  if (nr < (int64_t) INT32_MIN) 
 
98
  if (nr < (int64_t) INT32_MIN)
99
99
  {
100
100
    res=(int32_t) INT32_MIN;
101
101
    error= 1;