1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Cleanup: removing unused zeroing Datetime() constructor

This commit is contained in:
Alexander Barkov
2018-12-07 12:12:29 +04:00
parent 34f11b06e6
commit a00f8bc3ad

View File

@ -1940,10 +1940,6 @@ public:
{ } { }
Datetime(THD *thd, int *warn, const MYSQL_TIME *from, date_conv_mode_t flags); 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, Datetime(THD *thd, MYSQL_TIME_STATUS *status,
const char *str, size_t len, CHARSET_INFO *cs, const char *str, size_t len, CHARSET_INFO *cs,
const date_mode_t fuzzydate) const date_mode_t fuzzydate)