diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-11-14 16:00:38 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-11-14 16:00:38 +0400 |
commit | b9a9055793ab8b9a50200e2f55602463627dedd3 (patch) | |
tree | bb245b2e03aa973439f7c50f69019b8622bf22af /client/mysqlbinlog.cc | |
parent | 62bcd74712680fa07c9ed8c42c384c8825c4f9af (diff) | |
download | mariadb-git-b9a9055793ab8b9a50200e2f55602463627dedd3.tar.gz |
MDEV-17712 Remove C_TIME_FUZZY_DATES, C_TIME_DATETIME_ONLY, C_TIME_TIME_ONLY
Diffstat (limited to 'client/mysqlbinlog.cc')
-rw-r--r-- | client/mysqlbinlog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 1b6c94aaf6d..c111730dd2a 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -1893,7 +1893,7 @@ static my_time_t convert_str_to_timestamp(const char* str) uint dummy_in_dst_time_gap; /* We require a total specification (date AND time) */ - if (str_to_datetime(str, (uint) strlen(str), &l_time, 0, &status) || + if (str_to_datetime_or_date(str, (uint) strlen(str), &l_time, 0, &status) || l_time.time_type != MYSQL_TIMESTAMP_DATETIME || status.warnings) { error("Incorrect date and time argument: %s", str); |