summaryrefslogtreecommitdiff
path: root/sql/item_xmlfunc.h
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2022-01-26 03:02:45 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2022-03-30 17:00:17 +0530
commit3eb1e11d8a68b5667193d14d718b5e672fe18fb7 (patch)
tree741082e6b477928875c9147296528cee9f30ab13 /sql/item_xmlfunc.h
parent12abe61af44205a17c75ace71252db1bad05b184 (diff)
downloadmariadb-git-3eb1e11d8a68b5667193d14d718b5e672fe18fb7.tar.gz
MDEV-23479: Add a THD* argument to Item_func_or_sum::fix_length_and_dec()
Fix: Added THD *thd argument in Item_func_or_sum::fix_length_and_dec() and in fix_length_and_dec() for all derived classes of Item_func_or_sum.
Diffstat (limited to 'sql/item_xmlfunc.h')
-rw-r--r--sql/item_xmlfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_xmlfunc.h b/sql/item_xmlfunc.h
index e2ffe2fa630..f6e153c9451 100644
--- a/sql/item_xmlfunc.h
+++ b/sql/item_xmlfunc.h
@@ -118,7 +118,7 @@ public:
set_maybe_null();
}
bool fix_fields(THD *thd, Item **ref) override;
- bool fix_length_and_dec() override;
+ bool fix_length_and_dec(THD *thd) override;
bool const_item() const override
{
return const_item_cache && (!nodeset_func || nodeset_func->const_item());