diff options
author | unknown <tsmith@ramayana.hindu.god> | 2007-08-30 23:57:39 -0600 |
---|---|---|
committer | unknown <tsmith@ramayana.hindu.god> | 2007-08-30 23:57:39 -0600 |
commit | 333a28bc76917f07847e80acb98bf76f7b582a15 (patch) | |
tree | e01f09b7067a8cdd3e4d4fdc7dd63d05e3939d92 /sql/item_timefunc.cc | |
parent | 66baabd40867d8db78052a71a9a6c21dfdd89fea (diff) | |
download | mariadb-git-333a28bc76917f07847e80acb98bf76f7b582a15.tar.gz |
Bug #27014: Imperfect error/warning message for STR_TO_DATE for invalid datetime value
Fix name of function in warning message.
sql/item_timefunc.cc:
Fix error message in extract_date_time(); ("str_to_time" -> "str_to_date")
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index 0af98b5d987..2fedb4b72b6 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -597,7 +597,7 @@ err: strmake(buff, val_begin, min(length, sizeof(buff)-1)); push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR, ER_WRONG_VALUE_FOR_TYPE, ER(ER_WRONG_VALUE_FOR_TYPE), - date_time_type, buff, "str_to_time"); + date_time_type, buff, "str_to_date"); } DBUG_RETURN(1); } |