v23-0009-Miscellaneous-fixes.patch

application/octet-stream

Filename: v23-0009-Miscellaneous-fixes.patch
Type: application/octet-stream
Part: 8
Message: Re: [PoC] Improve dead tuple storage for lazy vacuum

Patch

Format: format-patch
Series: patch v23-0009
Subject: Miscellaneous fixes.
File+
src/include/lib/radixtree.h 2 2
From 222e13f6e19baa6189c25167d0f20919230842c3 Mon Sep 17 00:00:00 2001
From: Masahiko Sawada <sawada.mshk@gmail.com>
Date: Wed, 25 Jan 2023 10:50:33 +0900
Subject: [PATCH v23 09/18] Miscellaneous fixes.

---
 src/include/lib/radixtree.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/include/lib/radixtree.h b/src/include/lib/radixtree.h
index b389ee3ed3..003e8215aa 100644
--- a/src/include/lib/radixtree.h
+++ b/src/include/lib/radixtree.h
@@ -304,7 +304,7 @@ RT_SCOPE void RT_STATS(RT_RADIX_TREE *tree);
  * XXX There are 4 node kinds, and this should never be increased,
  * for several reasons:
  * 1. With 5 or more kinds, gcc tends to use a jump table for switch
- *    statments.
+ *    statements.
  * 2. The 4 kinds can be represented with 2 bits, so we have the option
  *    in the future to tag the node pointer with the kind, even on
  *    platforms with 32-bit pointers. This might speed up node traversal
@@ -2239,7 +2239,7 @@ RT_DUMP(RT_RADIX_TREE *tree)
 {
 
 	for (int i = 0; i < RT_SIZE_CLASS_COUNT; i++)
-		fprintf(stderr, "%s\tinner_size %zu\tleaf_size %zu\t%zu\n",
+		fprintf(stderr, "%s\tinner_size %zu\tleaf_size %zu\n",
 				RT_SIZE_CLASS_INFO[i].name,
 				RT_SIZE_CLASS_INFO[i].inner_size,
 				RT_SIZE_CLASS_INFO[i].leaf_size);
-- 
2.31.1