remove_bogus_Assert_from_BufFileSize.patch
application/octet-stream
Filename: remove_bogus_Assert_from_BufFileSize.patch
Type: application/octet-stream
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/storage/file/buffile.c | 0 | 2 |
diff --git a/src/backend/storage/file/buffile.c b/src/backend/storage/file/buffile.c
index a263875fd5..cd94a5535d 100644
--- a/src/backend/storage/file/buffile.c
+++ b/src/backend/storage/file/buffile.c
@@ -867,8 +867,6 @@ BufFileSize(BufFile *file)
{
int64 lastFileSize;
- Assert(file->fileset != NULL);
-
/* Get the size of the last physical file. */
lastFileSize = FileSize(file->files[file->numFiles - 1]);
if (lastFileSize < 0)