Skip to content

Commit f2ffcd9

Browse files
committed
MDEV-35657: Add work-arounds for clang 11
1 parent e5c4c08 commit f2ffcd9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

extra/mariabackup/fil_cur.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ xb_fil_cur_open(
187187
}
188188
#else
189189
err = fstat(cursor->file.m_file, &cursor->statinfo);
190+
MSAN_STAT_WORKAROUND(&cursor->statinfo);
190191
#endif
191192
if (max_file_size < (ulonglong)cursor->statinfo.st_size) {
192193
cursor->statinfo.st_size = (ulonglong)max_file_size;

extra/mariabackup/xtrabackup.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3648,6 +3648,7 @@ os_file_readdir_next_file(
36483648
return(-1);
36493649
}
36503650

3651+
MSAN_STAT_WORKAROUND(&statinfo);
36513652
info->size = statinfo.st_size;
36523653

36533654
if (S_ISDIR(statinfo.st_mode)) {

0 commit comments

Comments
 (0)