~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_sum.cc

  • Committer: David Axmark
  • Date: 2008-11-05 05:50:56 UTC
  • mto: (584.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 586.
  • Revision ID: davida@davids-laptop-20081105055056-bt8ajhvihu0j28kp
Changed NEWDATE to DATE. One failing test but I think its somewhere else in the code 
(func_math).

Show diffs side-by-side

added added

removed removed

Lines of Context:
706
706
    fields creations separately.
707
707
  */
708
708
  switch (args[0]->field_type()) {
709
 
  case DRIZZLE_TYPE_NEWDATE:
710
 
    field= new Field_newdate(maybe_null, name, collation.collation);
 
709
  case DRIZZLE_TYPE_DATE:
 
710
    field= new Field_date(maybe_null, name, collation.collation);
711
711
    break;
712
712
  case DRIZZLE_TYPE_TIME:
713
713
    field= new Field_time(maybe_null, name, collation.collation);