~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-05-21 18:25:00 UTC
  • mfrom: (1530.2.10)
  • Revision ID: brian@gaz-20100521182500-c30dbqd2ko56cf56
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    return 0;
39
39
  }
40
40
  return (unsigned_flag ?
41
 
          (int64_t)((uint64_t) value / (uint64_t) val2) :
 
41
          (uint64_t) value / (uint64_t) val2 :
42
42
          value / val2);
43
43
}
44
44