1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -2138,6 +2138,7 @@ void TABLE_LIST::hide_view_error(THD *thd)
/* Hide "Unknown column" or "Unknown function" error */
if (thd->net.last_errno == ER_BAD_FIELD_ERROR ||
thd->net.last_errno == ER_SP_DOES_NOT_EXIST ||
thd->net.last_errno == ER_FUNC_INEXISTENT_NAME_COLLISION ||
thd->net.last_errno == ER_PROCACCESS_DENIED_ERROR ||
thd->net.last_errno == ER_COLUMNACCESS_DENIED_ERROR ||
thd->net.last_errno == ER_TABLEACCESS_DENIED_ERROR ||