From a00f8bc3ad3b04b543e2af400289f283fee5427c Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Fri, 7 Dec 2018 12:12:29 +0400 Subject: [PATCH] Cleanup: removing unused zeroing Datetime() constructor --- sql/sql_type.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/sql_type.h b/sql/sql_type.h index a5d8f4ae6df..0e023a3ef65 100644 --- a/sql/sql_type.h +++ b/sql/sql_type.h @@ -1940,10 +1940,6 @@ public: { } Datetime(THD *thd, int *warn, const MYSQL_TIME *from, date_conv_mode_t flags); - Datetime() - { - set_zero_time(this, MYSQL_TIMESTAMP_DATETIME); - } Datetime(THD *thd, MYSQL_TIME_STATUS *status, const char *str, size_t len, CHARSET_INFO *cs, const date_mode_t fuzzydate)