pgpool2.git / summary / log / commit / refs
commit d83ff785f754d8dbf28a46dbb0b68e9382e54c15
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Mon Jun 29 00:35:23 2020 +0000
Fix typo in query cache module.
src/query_cache/pool_memqcache.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/query_cache/pool_memqcache.c b/src/query_cache/pool_memqcache.c
index ecd655bb0..95f2ed5ca 100644
--- a/src/query_cache/pool_memqcache.c
+++ b/src/query_cache/pool_memqcache.c
@@ -3999,7 +3999,7 @@ pool_hash_insert(POOL_QUERY_HASH * key, POOL_CACHEID * cacheid, bool update)
}
/*
- * Delete MD5 key and associated cache id into shmem hash table.
+ * Delete MD5 key and associated cache id from shmem hash table.
*/
int
pool_hash_delete(POOL_QUERY_HASH * key)
@@ -4058,7 +4058,7 @@ pool_hash_delete(POOL_QUERY_HASH * key)
}
/*
- * Calculate 32bit binary hash key(i.e. location in hash header) from MD5
+ * Calculate 32bit binary hash key (i.e. location in hash header) from MD5
* string. We use top most 8 characters of MD5 string for calculation.
*/
static uint32
@@ -4153,7 +4153,7 @@ pool_get_shmem_storage_stats(void)
return &mystats;
/*
- * Cop cache hit data
+ * Copy cache hit data
*/
mystats.cache_stats.num_selects = stats->num_selects;
mystats.cache_stats.num_cache_hits = stats->num_cache_hits;
[parent: d8f5c20d619d]