~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/item_func.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2281
2281
  if (value)
2282
2282
  {
2283
2283
    *value= min_max;
2284
 
    if (datetime_item->field_type() == MYSQL_TYPE_DATE)
 
2284
    if (datetime_item->field_type() == MYSQL_TYPE_NEWDATE)
2285
2285
      *value/= 1000000L;
2286
2286
  }
2287
2287
  return min_max_idx;