summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2004-03-19 19:01:54 +0100
committerpem@mysql.comhem.se <>2004-03-19 19:01:54 +0100
commit13987057f64b97776e9491447186bebc54ee1439 (patch)
tree8a8b60eab5553d3fb3d8304e77dadd313b4c77e6 /sql/item_func.h
parent786f823248fb92ef848edbc54c70a345f8306ad4 (diff)
downloadmariadb-git-13987057f64b97776e9491447186bebc54ee1439.tar.gz
WL#1366: Use the schema (db) associated with an SP.
Phase 3: Made qualified names work for functions as well.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index e68826ca56e..6d313a8ea66 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1107,7 +1107,10 @@ public:
Item *it;
if (execute(&it))
+ {
+ null_value= 1;
return 0.0;
+ }
return it->val();
}
@@ -1116,7 +1119,10 @@ public:
Item *it;
if (execute(&it))
+ {
+ null_value= 1;
return NULL;
+ }
return it->val_str(str);
}