Fix minor source code comment mistake

Started by k.jamison@fujitsu.comover 5 years ago3 messages
#1k.jamison@fujitsu.com
k.jamison@fujitsu.com
1 attachment(s)

Hi,

Just found a minor error in source code comment.
src/include/executor/instrument.h

Attached is the fix.

-	long		local_blks_dirtied; /* # of shared blocks dirtied */
+	long		local_blks_dirtied; /* # of local blocks dirtied */

Regards,
Kirk Jamison

Attachments:

0001-Fix-comment-in-source-code.patchapplication/octet-stream; name=0001-Fix-comment-in-source-code.patchDownload
From bb7b3d90d8bbe449704cbd4564c42c216e6ea865 Mon Sep 17 00:00:00 2001
From: Kirk Jamison <k,jamison@fujitsu.com>
Date: Thu, 30 Jul 2020 05:50:27 +0000
Subject: [PATCH] Fix comment in source code

---
 src/include/executor/instrument.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/executor/instrument.h b/src/include/executor/instrument.h
index a97562e..9dc3ecb 100644
--- a/src/include/executor/instrument.h
+++ b/src/include/executor/instrument.h
@@ -24,7 +24,7 @@ typedef struct BufferUsage
 	long		shared_blks_written;	/* # of shared disk blocks written */
 	long		local_blks_hit; /* # of local buffer hits */
 	long		local_blks_read;	/* # of local disk blocks read */
-	long		local_blks_dirtied; /* # of shared blocks dirtied */
+	long		local_blks_dirtied; /* # of local blocks dirtied */
 	long		local_blks_written; /* # of local disk blocks written */
 	long		temp_blks_read; /* # of temp blocks read */
 	long		temp_blks_written;	/* # of temp blocks written */
-- 
1.8.3.1

#2Michael Paquier
michael@paquier.xyz
In reply to: k.jamison@fujitsu.com (#1)
Re: Fix minor source code comment mistake

On Thu, Jul 30, 2020 at 08:03:09AM +0000, k.jamison@fujitsu.com wrote:

Just found a minor error in source code comment.
src/include/executor/instrument.h

Attached is the fix.

-	long		local_blks_dirtied; /* # of shared blocks dirtied */
+	long		local_blks_dirtied; /* # of local blocks dirtied */

Indeed. Let's fix this.
--
Michael

#3Michael Paquier
michael@paquier.xyz
In reply to: Michael Paquier (#2)
Re: Fix minor source code comment mistake

On Thu, Jul 30, 2020 at 05:57:40PM +0900, Michael Paquier wrote:

Indeed. Let's fix this.

And done.
--
Michael