Commit 3d471442 authored by bar@mysql.com's avatar bar@mysql.com

Merge

parents d91cd61a e7e5e8b1
...@@ -1906,6 +1906,7 @@ b1: str->append((char)(num>>8)); ...@@ -1906,6 +1906,7 @@ b1: str->append((char)(num>>8));
#endif #endif
str->append((char)num); str->append((char)num);
} }
str->set_charset(collation.collation);
str->realloc(str->length()); // Add end 0 (for Purify) str->realloc(str->length()); // Add end 0 (for Purify)
return str; return str;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment