~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

Merged in latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
  if ((null_value= args[0]->null_value || args[1]->null_value) ||
32
32
      period == 0L)
33
 
    return 0; /* purecov: inspected */
 
33
    return 0;
34
34
 
35
35
  return (int64_t) months_to_year_month(year_month_to_months(period) + months);
36
36
}