summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2014-09-03 01:56:21 +0400
committerAlexander Barkov <bar@mariadb.org>2014-09-03 01:56:21 +0400
commitfbaaf3688d5fac4b1b867155a9f09575367c0f98 (patch)
tree0e36d7dca37e6775e113c0547823dcd12ee502fe /sql/item_strfunc.cc
parent658a1e9420b062f767316ecf1dcb4b2837dfa27a (diff)
downloadmariadb-git-fbaaf3688d5fac4b1b867155a9f09575367c0f98.tar.gz
Moving Item::str_value from public to protected.
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r--sql/item_strfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc
index 78cb5badc65..c3e765e21b5 100644
--- a/sql/item_strfunc.cc
+++ b/sql/item_strfunc.cc
@@ -3397,7 +3397,7 @@ void Item_func_set_collation::print(String *str, enum_query_type query_type)
str->append(STRING_WITH_LEN(" collate "));
DBUG_ASSERT(args[1]->basic_const_item() &&
args[1]->type() == Item::STRING_ITEM);
- args[1]->str_value.print(str);
+ ((Item_string *)args[1])->print_value(str);
str->append(')');
}