~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/min_max.cc

  • Committer: Monty Taylor
  • Date: 2008-11-15 17:58:57 UTC
  • mfrom: (575.5.1 drizzle)
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 586.
  • Revision ID: monty@inaugust.com-20081115175857-kxdeopxzbyyz5bkd
MergedĀ fromĀ David.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
  if (value)
101
101
  {
102
102
    *value= min_max;
103
 
    if (datetime_item->field_type() == DRIZZLE_TYPE_NEWDATE)
 
103
    if (datetime_item->field_type() == DRIZZLE_TYPE_DATE)
104
104
      *value/= 1000000L;
105
105
  }
106
106
  return min_max_idx;