1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug #38159: Function parsing problem generates misleading error message

Added a more detailed error message on calling an ambiguous missing function.
This commit is contained in:
Georgi Kodinov
2009-05-27 16:05:29 +03:00
parent cb07978da9
commit bbe29a00d3
11 changed files with 60 additions and 7 deletions

View File

@ -148,6 +148,7 @@ exit:
if (orig_table_list->view)
{
if (thd->net.last_errno == ER_BAD_FIELD_ERROR ||
thd->net.last_errno == ER_FUNC_INEXISTENT_NAME_COLLISION ||
thd->net.last_errno == ER_SP_DOES_NOT_EXIST)
{
thd->clear_error();