From ece01ef3dc89d20198efbaec40e7114fdb515338 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 3 Sep 2016 14:04:17 +0200 Subject: After-review changes * remove redundant code * fix tests * move declarations and defines where they belong --- sql-common/my_time.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sql-common/my_time.c') diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 5fcb07e45c0..450a0fca775 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -777,10 +777,6 @@ long calc_daynr(uint year,uint month,uint day) DBUG_RETURN(delsum+(int) y/4-temp); } /* calc_daynr */ -/* Can't include mysqld_error.h, it needs mysys to build, thus hardcode 2 error values here. */ -#define ER_WARN_DATA_OUT_OF_RANGE 1264 -#define ER_WARN_INVALID_TIMESTAMP 1299 - /* Convert time in MYSQL_TIME representation in system time zone to its my_time_t form (number of seconds in UTC since begginning of Unix Epoch). -- cgit v1.2.1