diff options
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc index 59be33cb77f..5bcddb5cd67 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -3479,7 +3479,7 @@ bool Item_field::is_null_result() bool Item_field::eq(const Item *item, bool binary_cmp) const { - Item *real_item2= ((Item *) item)->real_item(); + const Item *real_item2= item->real_item(); if (real_item2->type() != FIELD_ITEM) return 0; |