summaryrefslogtreecommitdiff
path: root/sql/sql_derived.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-05-27 18:19:44 +0300
committerGeorgi Kodinov <joro@sun.com>2009-05-27 18:19:44 +0300
commitc675beab98d90e2f1a606c17d106740d1394071a (patch)
treeef20b1214af011ce8ef6a3fb904fb115e723cb71 /sql/sql_derived.cc
parentc8a7b7914203a95c30ce45e800f7676744248bf7 (diff)
parent80730df7d634e1a620c864d6665d6e66ccad447a (diff)
downloadmariadb-git-c675beab98d90e2f1a606c17d106740d1394071a.tar.gz
merged 5.0-bugteam to 5.1-bugteam
Diffstat (limited to 'sql/sql_derived.cc')
-rw-r--r--sql/sql_derived.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_derived.cc b/sql/sql_derived.cc
index 41be98621a6..37adf5c403a 100644
--- a/sql/sql_derived.cc
+++ b/sql/sql_derived.cc
@@ -179,6 +179,7 @@ exit:
{
if (thd->is_error() &&
(thd->main_da.sql_errno() == ER_BAD_FIELD_ERROR ||
+ thd->main_da.sql_errno() == ER_FUNC_INEXISTENT_NAME_COLLISION ||
thd->main_da.sql_errno() == ER_SP_DOES_NOT_EXIST))
{
thd->clear_error();