mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 20:55:32 +02:00
MDEV-22690 MSAN use-of-uninitialized-value in optimizer_trace
This was actually fixed in commit e843033d02
and all that we need to do is to remove an unnecessary work-around.
This commit is contained in:
parent
263f8aff65
commit
1a4846dedc
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue