Commit 1a4846de authored by Marko Mäkelä's avatar Marko Mäkelä

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

This was actually fixed in commit e843033d
and all that we need to do is to remove an unnecessary work-around.
parent 263f8aff
......@@ -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);
}
......
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