summaryrefslogtreecommitdiff
path: root/sql/field_conv.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2015-12-28 12:18:41 +0400
committerAlexander Barkov <bar@mariadb.org>2015-12-28 12:18:41 +0400
commit5c5034f9d470ec56f98a9c271b2869b204fd58ff (patch)
tree994fae356fc4f16c465a436ce974458a9a26539f /sql/field_conv.cc
parentaf01d8430de438b0fda45140f39484ae625ce585 (diff)
downloadmariadb-git-5c5034f9d470ec56f98a9c271b2869b204fd58ff.tar.gz
Adding "const" qualifier to methods Field::eq_def() and
Copy_field::get_copy_func().
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r--sql/field_conv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc
index d3aa21e1fb5..3d9c25a69d1 100644
--- a/sql/field_conv.cc
+++ b/sql/field_conv.cc
@@ -703,7 +703,7 @@ void Copy_field::set(Field *to,Field *from,bool save)
Copy_field::Copy_func *
-Copy_field::get_copy_func(Field *to,Field *from)
+Copy_field::get_copy_func(const Field *to, const Field *from)
{
if (to->flags & BLOB_FLAG)
{