Commit cae6ffdc authored by unknown's avatar unknown

Fix for a bug #807

parent 421a4629
...@@ -295,6 +295,7 @@ void Item_func_interval::fix_length_and_dec() ...@@ -295,6 +295,7 @@ void Item_func_interval::fix_length_and_dec()
used_tables_cache|= item->used_tables(); used_tables_cache|= item->used_tables();
not_null_tables_cache&= item->not_null_tables(); not_null_tables_cache&= item->not_null_tables();
with_sum_func= with_sum_func || item->with_sum_func; with_sum_func= with_sum_func || item->with_sum_func;
const_item_cache&=item->const_item();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment