summaryrefslogtreecommitdiff
path: root/sql/item_func.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-24 16:28:13 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-24 16:28:13 +0300
commit49557aae69f1b7cdd51c62ca8b032c3258ae4f3d (patch)
tree3fca27f491533c00edcd913889a8fd974c37efee /sql/item_func.cc
parentc6ca40fb86555f8e19734ecb4735e562107ed001 (diff)
parent45c70a2ec50e81d3eeb1699fae939e113bf69ba1 (diff)
downloadmariadb-git-49557aae69f1b7cdd51c62ca8b032c3258ae4f3d.tar.gz
merged compilation warning fixes
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r--sql/item_func.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc
index a85e354b786..d9e6f76dd6b 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4235,7 +4235,7 @@ void Item_func_set_user_var::save_item_result(Item *item)
bool
Item_func_set_user_var::update()
{
- bool res= NULL;
+ bool res= 0;
DBUG_ENTER("Item_func_set_user_var::update");
switch (cached_result_type) {