summaryrefslogtreecommitdiff
path: root/sql/time.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/time.cc')
-rw-r--r--sql/time.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/time.cc b/sql/time.cc
index 17603d93dd4..ce4b5b0e30c 100644
--- a/sql/time.cc
+++ b/sql/time.cc
@@ -413,16 +413,6 @@ ulong convert_month_to_period(ulong month)
return year*100+month%12+1;
}
-#ifdef NOT_NEEDED
-
-ulong add_to_period(ulong period,int months)
-{
- if (period == 0L)
- return 0L;
- return convert_month_to_period(convert_period_to_month(period)+months);
-}
-#endif
-
/*****************************************************************************
** convert a timestamp string to a TIME value.