mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
Bug #27014: Imperfect error/warning message for STR_TO_DATE for invalid datetime value
Fix name of function in warning message.
This commit is contained in:
parent
cefe7a3c8b
commit
f5fdb53a35
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ err:
|
||||||
strmake(buff, val_begin, min(length, sizeof(buff)-1));
|
strmake(buff, val_begin, min(length, sizeof(buff)-1));
|
||||||
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
|
||||||
ER_WRONG_VALUE_FOR_TYPE, ER(ER_WRONG_VALUE_FOR_TYPE),
|
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);
|
DBUG_RETURN(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue