Fix comment broken by pgindent.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 5 Oct 2018 22:17:16 +0000 (07:17 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 5 Oct 2018 22:17:16 +0000 (07:17 +0900)
src/query_cache/pool_memqcache.c

index a271ddc3d000394f481a1d28571e5e5995abb9d3..6c5a2cf23f1303fbf07980e7eecd980d156bbdf9 100644 (file)
@@ -3349,11 +3349,12 @@ pool_handle_query_cache(POOL_CONNECTION_POOL * backend, char *query, Node *node,
                        pool_invalidate_query_cache(num_oids, oids, true, 0);
                }
 
-               /*
+               /*--------------------------------------------------------------------
                 * If we have something in the query cache buffer, that means either:
-                * - We only had SELECTs in the transaction - We had only SELECTs
-                * after last DML Thus we can register SELECT results to cache
-                * storage.
+                * - We only had SELECTs in the transaction
+                * - We had only SELECTs after the last DML
+                * Thus we can register SELECT results to cache storage.
+                *--------------------------------------------------------------------
                 */
                num_caches = session_context->query_cache_array->num_caches;
                for (i = 0; i < num_caches; i++)