~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-10-10 17:45:56 UTC
  • mfrom: (1831.1.1 gcc45-fixes)
  • Revision ID: brian@tangent.org-20101010174556-9187fxwvcmpy62eh
Merge in gcc 4.5 fixes.

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: