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:
parent
263f8aff65
commit
1a4846dedc
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user