Skip to content

Commit 1a4846d

Browse files
committed
MDEV-22690 MSAN use-of-uninitialized-value in optimizer_trace
This was actually fixed in commit e843033 and all that we need to do is to remove an unnecessary work-around.
1 parent 263f8af commit 1a4846d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sql/my_json_writer.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ void Json_writer::add_size(longlong val)
180180
void Json_writer::add_double(double val)
181181
{
182182
char buf[64];
183-
#if __has_feature(memory_sanitizer) // FIXME: remove this workaround for
184-
__msan_unpoison(&val, sizeof val); // main.range_mrr_icp & many other tests
185-
#endif
186183
size_t len= my_snprintf(buf, sizeof(buf), "%-.11lg", val);
187184
add_unquoted_str(buf, len);
188185
}

0 commit comments

Comments
 (0)