diff options
author | unknown <igor@olga.mysql.com> | 2007-03-20 12:20:18 -0700 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-03-20 12:20:18 -0700 |
commit | 2fd6320136c3f44e001780e7892819a2f80c73ea (patch) | |
tree | 1cf49d7f745f184d4b70bbf73dcd1b92ea93b821 /sql/item_sum.cc | |
parent | bac27bb9f5c6586e1993e6fef6c513cd79dd2306 (diff) | |
parent | 91f7f3181670523aa657420ae47d1d20fcd07aea (diff) | |
download | mariadb-git-2fd6320136c3f44e001780e7892819a2f80c73ea.tar.gz |
Merge olga.mysql.com:/home/igor/mysql-5.0-opt
into olga.mysql.com:/home/igor/dev-opt/mysql-5.0-opt-bug27257
sql/item_sum.cc:
Auto merged
Diffstat (limited to 'sql/item_sum.cc')
-rw-r--r-- | sql/item_sum.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.cc b/sql/item_sum.cc index d49a5f195bb..fcebc89c6e9 100644 --- a/sql/item_sum.cc +++ b/sql/item_sum.cc @@ -269,6 +269,7 @@ bool Item_sum::register_sum_func(THD *thd, Item **ref) sl= sl->master_unit()->outer_select() ) sl->master_unit()->item->with_sum_func= 1; } + thd->lex->current_select->mark_as_dependent(aggr_sl); return FALSE; } |