summaryrefslogtreecommitdiff
path: root/include/my_time.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-05-24 19:09:59 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-05-24 19:09:59 +0400
commit32bd0c7d1fd3e996bf4431ed2c2e22cc1bcde4cd (patch)
treef4b7e59f087e5c884fa5c5b09035ca84a77ce545 /include/my_time.h
parent74be65c6d8f3541dc4a83666e32f043a7b6b49fe (diff)
downloadmariadb-git-32bd0c7d1fd3e996bf4431ed2c2e22cc1bcde4cd.tar.gz
Adding the timezone plugin service, to convert between
MYSQL_TIME and my_time_t and back. Using the new service instead of direct access to thd. added: include/mysql/service_thd_timezone.h libservices/thd_timezone_service.c modified: include/my_time.h include/mysql.h.pp include/mysql/plugin.h include/mysql/plugin_audit.h.pp include/mysql/plugin_auth.h.pp include/mysql/plugin_ftparser.h.pp include/mysql/services.h include/mysql_time.h include/service_versions.h libservices/CMakeLists.txt sql/sql_class.cc sql/sql_plugin_services.h storage/connect/value.cpp
Diffstat (limited to 'include/my_time.h')
-rw-r--r--include/my_time.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/my_time.h b/include/my_time.h
index 9bd545bb850..046b5c94923 100644
--- a/include/my_time.h
+++ b/include/my_time.h
@@ -29,16 +29,6 @@ C_MODE_START
extern ulonglong log_10_int[20];
extern uchar days_in_month[];
-/*
- Portable time_t replacement.
- Should be signed and hold seconds for 1902 -- 2038-01-19 range
- i.e at least a 32bit variable
-
- Using the system built in time_t is not an option as
- we rely on the above requirements in the time functions
-*/
-typedef long my_time_t;
-
#define MY_TIME_T_MAX LONG_MAX
#define MY_TIME_T_MIN LONG_MIN