diff options
author | Georgi Kodinov <joro@sun.com> | 2009-05-27 16:05:29 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-05-27 16:05:29 +0300 |
commit | bbe29a00d3ca24d4aa9c8c3b7c3f7bd8bcbd3389 (patch) | |
tree | 84a2cbd1035921bbaa22dbb65522b2d16b307602 /sql/sql_derived.cc | |
parent | cb07978da9a24244cf71d9be86eeb794088f67c7 (diff) | |
download | mariadb-git-bbe29a00d3ca24d4aa9c8c3b7c3f7bd8bcbd3389.tar.gz |
Bug #38159: Function parsing problem generates misleading error message
Added a more detailed error message on calling an ambiguous missing function.
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r-- | sql/sql_derived.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc index 830d1b7c36f..46718f74bd4 100644 --- a/sql/sql_derived.cc +++ b/sql/sql_derived.cc @@ -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(); |