diff options
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 463bb215da4..a2587f408b1 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -995,9 +995,9 @@ inline Item *and_conds(Item *a,Item *b) { if (!b) return a; if (!a) return b; - Item *cond=new Item_cond_and(a,b); + Item *cond= new Item_cond_and(a,b); if (cond) - cond->update_used_tables(); + cond->fix_fields(current_thd, 0, &cond); return cond; } |