summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-02-27 17:47:06 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:57 +0400
commit839e0947eea1660aa437b77520388e062bac4f63 (patch)
tree8074b563481022172ddf166cc8337f39204cfda3 /sql/item_strfunc.h
parent915c5df865909b6801d6b5f43a48a5998a2e0de5 (diff)
downloadmariadb-git-839e0947eea1660aa437b77520388e062bac4f63.tar.gz
MDEV-12143 sql_mode=ORACLE: make the CONCAT function ignore NULL arguments
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 0ff11796add..5bd7bb14687 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -297,6 +297,9 @@ public:
class Item_func_concat_operator_oracle :public Item_func_concat
{
public:
+ Item_func_concat_operator_oracle(THD *thd, List<Item> &list)
+ :Item_func_concat(thd, list)
+ { }
Item_func_concat_operator_oracle(THD *thd, Item *a, Item *b)
:Item_func_concat(thd, a, b)
{ }