~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Eric Day
  • Date: 2009-08-31 23:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1134.
  • Revision ID: eday@oddments.org-20090831235037-hwwe6zhq94o4lxtd
Removed purecov messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  uint32_t period2= (uint32_t)args[1]->val_int();
30
30
 
31
31
  if ((null_value=args[0]->null_value || args[1]->null_value))
32
 
    return 0; /* purecov: inspected */
 
32
    return 0;
33
33
  return (int64_t) (year_month_to_months(period1) -year_month_to_months(period2));
34
34
}