diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-04-11 19:32:55 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-11 19:32:55 +0400 |
commit | 012fbc15cfbd34c218ae50f553d2e2e32301da01 (patch) | |
tree | 4c274b2584728a722031da3f9b008b2b63bbbabb /sql/item_strfunc.h | |
parent | 5bf7046fa762f02c6dde197b99f7615f9a5eda15 (diff) | |
download | mariadb-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.h | 6 |
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); |