summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2003-07-09 15:53:54 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2003-07-09 15:53:54 +0300
commit9e386beadb2372ccef25827b582e4aabe5142670 (patch)
treeffcc7cd18e05b7dc86652f4ccabd9de72f888203
parent08843dd197ea3fda37702cd1b3a490a0f4b949f0 (diff)
parentcae6ffdceec8d65b3320edc36b0b5c8ef5fbcfbe (diff)
downloadmariadb-git-9e386beadb2372ccef25827b582e4aabe5142670.tar.gz
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
-rw-r--r--sql/item_cmpfunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 5d47fa302f3..b7b97dc80f9 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -295,6 +295,7 @@ void Item_func_interval::fix_length_and_dec()
used_tables_cache|= item->used_tables();
not_null_tables_cache&= item->not_null_tables();
with_sum_func= with_sum_func || item->with_sum_func;
+ const_item_cache&=item->const_item();
}