summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2014-09-04 08:50:06 +0400
committerAlexander Barkov <bar@mariadb.org>2014-09-04 08:50:06 +0400
commit58eb51d1cfb50058ce52dda5ef95fb7f2144467d (patch)
treed232bc58d654228a2ddcefe0eb60382c5cc3ad6f /sql/item_strfunc.h
parent1e66871713b7196daf1e9416823d57d5bbac85a1 (diff)
downloadmariadb-git-58eb51d1cfb50058ce52dda5ef95fb7f2144467d.tar.gz
MDEV-6044 MySQL BUG#12735829 - SPACE() FUNCTION WARNING REFERS TO REPEAT() IN ER_WARN_ALLOWED_PACKET_OVERFLOWED
Merged from 5.6
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 01a88e229d5..8377a20e0a4 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -719,6 +719,16 @@ public:
};
+class Item_func_space :public Item_str_func
+{
+public:
+ Item_func_space(Item *arg1):Item_str_func(arg1) {}
+ String *val_str(String *);
+ void fix_length_and_dec();
+ const char *func_name() const { return "space"; }
+};
+
+
class Item_func_binlog_gtid_pos :public Item_str_func
{
String tmp_value;