Fix typo in query cache module.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 29 Jun 2020 00:35:23 +0000 (09:35 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 29 Jun 2020 00:38:46 +0000 (09:38 +0900)
src/query_cache/pool_memqcache.c

index 7e5d3258e3aacc6a7fc0fbdd9ee87d5518a64423..25321e46b5a3f8f6c70ebe184474d2daba5c854a 100644 (file)
@@ -3765,7 +3765,7 @@ static int pool_hash_insert(POOL_QUERY_HASH *key, POOL_CACHEID *cacheid, bool up
 }
 
 /*
- * 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)
 {
@@ -3822,8 +3822,8 @@ int pool_hash_delete(POOL_QUERY_HASH *key)
        return 0;
 }
 
-/* 
- * 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 create_hash_key(POOL_QUERY_HASH *key)
@@ -3913,7 +3913,7 @@ POOL_SHMEM_STATS *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;