From 4a8f8b2140686de41220b4090a4a65b8aa33e4de Mon Sep 17 00:00:00 2001 From: gentle_hu Date: Wed, 16 Feb 2022 20:57:01 +0800 Subject: [PATCH] compile warning --- src/common/backend/utils/cache/relcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/backend/utils/cache/relcache.cpp b/src/common/backend/utils/cache/relcache.cpp index 2dda00a34..7a962f7f6 100644 --- a/src/common/backend/utils/cache/relcache.cpp +++ b/src/common/backend/utils/cache/relcache.cpp @@ -7906,7 +7906,7 @@ void SetupPageCompressForRelation(RelFileNode* node, PageCompressOpts* compress_ relationName))); } - uint1 preallocChunks; + uint1 preallocChunks = 0; if (compress_options->compressPreallocChunks >= BLCKSZ / compress_options->compressChunkSize) { ereport(ERROR, (errmsg("invalid compress_prealloc_chunks %d , must be less than %d for %s", compress_options->compressPreallocChunks,