Fixed LP bug #879882.

This bug happened because the function Item_cond::eval_not_null_tables
erroneously did not initialize the value of not_null_tables_cache.
This commit is contained in:
Igor Babaev 2011-10-23 05:46:03 -07:00
commit 391c5db1fc
3 changed files with 119 additions and 0 deletions

View file

@ -4195,6 +4195,7 @@ Item_cond::eval_not_null_tables(uchar *opt_arg)
{
Item *item;
List_iterator<Item> li(list);
not_null_tables_cache= (table_map) 0;
and_tables_cache= ~(table_map) 0;
while ((item=li++))
{