diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item_subselect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc index 589a41052c5..252423db0a2 100644 --- a/sql/item_subselect.cc +++ b/sql/item_subselect.cc @@ -166,7 +166,7 @@ void Item_subselect::update_used_tables() if (!engine->uncacheable()) { // did all used tables become ststic? - if ((used_tables_cache & ~engine->upper_select_const_tables())) + if (!(used_tables_cache & ~engine->upper_select_const_tables())) const_item_cache= 1; } } |