Skip to content

Commit c22b3e4

Browse files
committed
Bug fix. Do not align compressed size during decompressing
1 parent 48a8723 commit c22b3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ restore_data_file(const char *to_path, pgFile *file, bool allow_truncate,
719719

720720
uncompressed_size = do_decompress(page.data, BLCKSZ,
721721
compressed_page.data,
722-
MAXALIGN(header.compressed_size),
722+
header.compressed_size,
723723
file->compress_alg);
724724

725725
if (uncompressed_size != BLCKSZ)

0 commit comments

Comments
 (0)