30
30
String tmp, cstr, *ostr= val_str(&tmp);
31
31
cstr.copy(ostr->ptr(), ostr->length(), tocs);
32
32
Item_string* conv= new Item_string(cstr.ptr(), cstr.length(), cstr.charset(), collation.derivation);
35
35
conv->str_value.set(ptr, cstr.length(), cstr.charset());
36
36
/* Ensure that no one is going to change the result string */