gpdb icon indicating copy to clipboard operation
gpdb copied to clipboard

Fix typo

Open hyongtao-code opened this issue 1 year ago • 0 comments
trafficstars

There are 2 vars, compressionOverrunLen and maxBufferWithCompressionOverrrunLen in the definition of struct AppendOnlyStorageWrite. The two variables are related, but spelled differently. I think there is a redundant letter R in maxBufferWithCompressionOver R runLen.

typedef struct AppendOnlyStorageWrite
{
        /*......*/
	/*
	 * Number of bytes of extra buffer must have beyond the output compression
	 * buffer needed for spillover for some compression libraries.
	 */
	int32		compressionOverrunLen;

	/* The maximum buffer plus compression overrun byte length */
	int32		maxBufferWithCompressionOverrrunLen;
        /*......*/
}

hyongtao-code avatar Apr 01 '24 01:04 hyongtao-code