~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/extract.cc

  • Committer: Andrew Hutchings
  • Date: 2010-10-10 08:28:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1835.
  • Revision ID: andrew@linuxjedi.co.uk-20101010082830-nvq4ftzayiptxbn0
Fix new warnings in GCC 4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
    case INTERVAL_WEEK:
276
276
      return iso_week_number_from_gregorian_date(temporal->years()
277
277
                                               , temporal->months()
278
 
                                               , temporal->days()
279
 
                                               , NULL); /* NULL is year_out parameter, which is not needed */
 
278
                                               , temporal->days());
280
279
    case INTERVAL_DAY:
281
280
      return (int64_t) temporal->days();
282
281
    case INTERVAL_DAY_HOUR: