summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2023-01-18 16:36:13 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2023-01-18 16:36:13 +0100
commit795ff0daf0f1ba691735f64f6e3a08e9ecd0160b (patch)
tree56a23ab6a0103acfd2f01110d5205d8994e0d8c0 /sql/item.cc
parentd1a4f6e627b3ad2c86946da08b8e82909707da7c (diff)
parenta01abad6193a39a9cdaa2b36b2a40be1759be0ce (diff)
downloadmariadb-git-795ff0daf0f1ba691735f64f6e3a08e9ecd0160b.tar.gz
Merge branch '10.6' into 10.7
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 7c8208499c3..0d629269f41 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -3476,7 +3476,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;