summaryrefslogtreecommitdiff
path: root/sql/item_sum.cc
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-10-14 11:30:28 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-10-14 11:30:28 +0300
commitc44781d579d9965446a00c624d00ffc7acb82e1e (patch)
treed4f420a00b3a58834f34f2dee7efbf6dd5073d75 /sql/item_sum.cc
parent4418455c3e3a548dacb383525634d7676508a176 (diff)
parente2fa4b6ed44ed1870a2bcbbb94771f21bf0cf692 (diff)
downloadmariadb-git-c44781d579d9965446a00c624d00ffc7acb82e1e.tar.gz
Merge magare.gmz:/home/kgeorge/mysql/autopush/B31156-5.0-opt
into magare.gmz:/home/kgeorge/mysql/autopush/B31156-5.1-opt sql/item_sum.cc: Auto merged
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 ca1e9db7475..df69263c705 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -917,7 +917,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
@@ -925,7 +925,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;
@@ -937,7 +937,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;