summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-10-14 11:28:43 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-10-14 11:28:43 +0300
commit97a98ff59bb676f360df755747a4935411db20b9 (patch)
tree79cbddab1c24ab7e948bee0f02713832312a46d6 /sql/item_sum.cc
parentc9141ac580ec8a53becc7b0fdcee78f546040b4b (diff)
downloadmariadb-git-97a98ff59bb676f360df755747a4935411db20b9.tar.gz
item_sum.cc:
Fixed dbug macros usage errors sql/item_sum.cc: Fixed dbug macros usage errors
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r--sql/item_sum.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 6421f517b21..92b6b57af08 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -907,7 +907,7 @@ bool Item_sum_distinct::setup(THD *thd)
DBUG_ENTER("Item_sum_distinct::setup");
/* It's legal to call setup() more than once when in a subquery */
if (tree)
- return FALSE;
+ DBUG_RETURN(FALSE);
/*
Virtual table and the tree are created anew on each re-execution of
@@ -915,7 +915,7 @@ bool Item_sum_distinct::setup(THD *thd)
mem_root.
*/
if (field_list.push_back(&field_def))
- return TRUE;
+ DBUG_RETURN(TRUE);
null_value= maybe_null= 1;
quick_group= 0;
@@ -927,7 +927,7 @@ bool Item_sum_distinct::setup(THD *thd)
args[0]->unsigned_flag);
if (! (table= create_virtual_tmp_table(thd, field_list)))
- return TRUE;
+ DBUG_RETURN(TRUE);
/* XXX: check that the case of CHAR(0) works OK */
tree_key_length= table->s->reclength - table->s->null_bytes;