MDEV-22690 MSAN use-of-uninitialized-value in optimizer_trace

This was actually fixed in commit e843033d0233927b8f51d7dbe21993bdfb01ecdf
and all that we need to do is to remove an unnecessary work-around.
This commit is contained in:
Marko Mäkelä 2020-07-01 16:11:58 +03:00
parent 263f8aff65
commit 1a4846dedc

View File

@ -180,9 +180,6 @@ void Json_writer::add_size(longlong val)
void Json_writer::add_double(double val)
{
char buf[64];
#if __has_feature(memory_sanitizer) // FIXME: remove this workaround for
__msan_unpoison(&val, sizeof val); // main.range_mrr_icp & many other tests
#endif
size_t len= my_snprintf(buf, sizeof(buf), "%-.11lg", val);
add_unquoted_str(buf, len);
}