}
/*
- * 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)
{
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)
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;