Moving Item::str_value from public to protected.

This commit is contained in:
Alexander Barkov 2014-09-03 01:56:21 +04:00
commit fbaaf3688d
12 changed files with 86 additions and 43 deletions

View file

@ -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(')');
}