summaryrefslogtreecommitdiff
path: root/sql/item_inetfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-11-07 21:57:42 +0400
committerAlexander Barkov <bar@mariadb.org>2017-11-07 21:57:42 +0400
commitca695888e00a4bdace1bc2143d91a0a871f39a6b (patch)
tree55682e8170e5c80805f0183aa652915ef8390cea /sql/item_inetfunc.h
parent6a524fcfdde539c6448aa4126ccb5ed79055b9ce (diff)
downloadmariadb-git-ca695888e00a4bdace1bc2143d91a0a871f39a6b.tar.gz
MDEV-14116 INET6_NTOA output is set as null to varchar(39) variable
Diffstat (limited to 'sql/item_inetfunc.h')
-rw-r--r--sql/item_inetfunc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_inetfunc.h b/sql/item_inetfunc.h
index 3a85d367ff1..d6fcc07a1c6 100644
--- a/sql/item_inetfunc.h
+++ b/sql/item_inetfunc.h
@@ -99,7 +99,7 @@ public:
virtual String *val_str_ascii(String *buffer);
protected:
- virtual bool calc_value(String *arg, String *buffer) = 0;
+ virtual bool calc_value(const String *arg, String *buffer) = 0;
};
@@ -126,7 +126,7 @@ public:
}
protected:
- virtual bool calc_value(String *arg, String *buffer);
+ virtual bool calc_value(const String *arg, String *buffer);
};
@@ -158,7 +158,7 @@ public:
}
protected:
- virtual bool calc_value(String *arg, String *buffer);
+ virtual bool calc_value(const String *arg, String *buffer);
};