~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: lbieber
  • Date: 2010-10-02 14:36:07 UTC
  • mfrom: (1799.7.7 drizzle-bug-649844)
  • mto: This revision was merged to the branch mainline in revision 1809.
  • Revision ID: lbieber@orisndriz08-20101002143607-fffgvc6l4gw9drmm
Merge Andrew - fix bug 649844 - Clean up and fix some drizzledump options along with some documentation 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());
 
278
                                               , temporal->days()
 
279
                                               , NULL); /* NULL is year_out parameter, which is not needed */
279
280
    case INTERVAL_DAY:
280
281
      return (int64_t) temporal->days();
281
282
    case INTERVAL_DAY_HOUR: