summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-04-11 19:32:55 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-11 19:32:55 +0400
commit012fbc15cfbd34c218ae50f553d2e2e32301da01 (patch)
tree4c274b2584728a722031da3f9b008b2b63bbbabb /sql/item_strfunc.h
parent5bf7046fa762f02c6dde197b99f7615f9a5eda15 (diff)
downloadmariadb-git-012fbc15cfbd34c218ae50f553d2e2e32301da01.tar.gz
MDEV-12478 CONCAT function inside view casts values incorrectly with Oracle sql_mode
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 5bd7bb14687..58bd6c99f80 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -303,12 +303,8 @@ public:
Item_func_concat_operator_oracle(THD *thd, Item *a, Item *b)
:Item_func_concat(thd, a, b)
{ }
- void print(String *str, enum_query_type query_type)
- {
- print_op(str, query_type);
- }
String *val_str(String *);
- const char *func_name() const { return "||"; }
+ const char *func_name() const { return "concat_operator_oracle"; }
Item *get_copy(THD *thd, MEM_ROOT *mem_root)
{
return get_item_copy<Item_func_concat_operator_oracle>(thd, mem_root, this);