summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-11-09 23:21:41 +0200
committerMonty <monty@mariadb.org>2017-11-09 23:21:41 +0200
commit0bb0d52221af99c46d17486382806caa6dd7338e (patch)
tree92b2ddfceaf8df5be6d47774b25fd3006ac5bb35 /sql/item_strfunc.h
parent7dbff2c513aeec3b3f3d0fa4952ae97deba22282 (diff)
parentd40c23570ff1a9ba5aa317b85a32a4b27780b8ab (diff)
downloadmariadb-git-0bb0d52221af99c46d17486382806caa6dd7338e.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Conflicts: mysql-test/r/cte_recursive.result mysql-test/r/derived_cond_pushdown.result mysql-test/t/cte_recursive.test mysql-test/t/derived_cond_pushdown.test sql/datadict.cc sql/handler.cc
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index c322136bef2..fbcf69d00ce 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -400,8 +400,7 @@ public:
bool fix_fields(THD *thd, Item **ref);
void fix_length_and_dec();
const char *func_name() const { return "regexp_replace"; }
- Item *get_copy(THD *thd, MEM_ROOT *mem_root)
- { return get_item_copy<Item_func_regexp_replace>(thd, mem_root, this); }
+ Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return 0;}
};
@@ -423,8 +422,7 @@ public:
bool fix_fields(THD *thd, Item **ref);
void fix_length_and_dec();
const char *func_name() const { return "regexp_substr"; }
- Item *get_copy(THD *thd, MEM_ROOT *mem_root)
- { return get_item_copy<Item_func_regexp_substr>(thd, mem_root, this); }
+ Item *get_copy(THD *thd, MEM_ROOT *mem_root) { return 0; }
};