• Jan Lindström's avatar
    MDEV-12632: Source and destination overlap in memcpy,... · 36c01167
    Jan Lindström authored
    MDEV-12632: Source and destination overlap in memcpy, encryption.innodb-discard-import-change fails in buildbot with valgrind
    
    Problem was that if tablespace was encrypted we try to copy
    also page 0 from read buffer to write buffer that are in
    that case the same memory area.
    
    fil_iterate
    	When tablespace is encrypted or compressed its
            first page (i.e. page 0) is not encrypted or
    	compressed and there is no need to copy buffer.
    36c01167
row0import.cc 102 KB