From 31a8cf54c8a7913338480a0571feaf32143b5f64 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Fri, 19 Aug 2016 15:46:27 +0000 Subject: Revert "MDEV-9293 Connector/C integration" This reverts commit 7b89b9f5108c80f4f270da922d7e6c182a663719. --- sql-common/my_time.c | 5 +---- 1 file changed, 1 insertion(+), 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..28757a2c96c 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -20,7 +20,7 @@ #include /* Windows version of localtime_r() is declared in my_ptrhead.h */ #include - +#include ulonglong log_10_int[20]= { @@ -777,9 +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 -- cgit v1.2.1