~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item_sum.cc

  • Committer: Brian Aker
  • Date: 2008-07-06 04:27:02 UTC
  • Revision ID: brian@tangent.org-20080706042702-hsbhcwimomo7fwx5
Second pass remove MEDIUMINT

Show diffs side-by-side

added added

removed removed

Lines of Context:
955
955
    calculations. The range of int64 is enough to hold sum 2^32 distinct
956
956
    integers each <= 2^32.
957
957
  */
958
 
  if (table_field_type == MYSQL_TYPE_INT24 ||
959
 
      (table_field_type >= MYSQL_TYPE_TINY && table_field_type <= MYSQL_TYPE_LONG))
 
958
  if (table_field_type >= MYSQL_TYPE_TINY && table_field_type <= MYSQL_TYPE_LONG)
960
959
  {
961
960
    val.traits= Hybrid_type_traits_fast_decimal::instance();
962
961
    break;