summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-24 16:21:46 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-24 16:21:46 +0300
commit45c70a2ec50e81d3eeb1699fae939e113bf69ba1 (patch)
treedc7aa715d7750096d0fdb9e3bc7dd49f26a86184 /sql
parent3df67bc2945699da77f6b9e3ae27b419b949c993 (diff)
downloadmariadb-git-45c70a2ec50e81d3eeb1699fae939e113bf69ba1.tar.gz
fixed compilation warnings
Diffstat (limited to 'sql')
-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 c6dbdb1d9a7..d6f315fda50 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4201,7 +4201,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) {