diff --git a/src/protocol/pool_proto_modules.c b/src/protocol/pool_proto_modules.c index aac6968..60a3adb 100644 --- a/src/protocol/pool_proto_modules.c +++ b/src/protocol/pool_proto_modules.c @@ -1717,7 +1717,7 @@ Describe(POOL_CONNECTION * frontend, POOL_CONNECTION_POOL * backend, ereport(DEBUG1, (errmsg("Describe: waiting for main node completing the query"))); - nowait = (SL_MODE ? true : false); + nowait = SL_MODE; pool_set_query_in_progress(); pool_extended_send_and_wait(query_context, "D", len, contents, 1, MAIN_NODE_ID, nowait); diff --git a/src/query_cache/pool_memqcache.c b/src/query_cache/pool_memqcache.c index 4660132..b5ba131 100644 --- a/src/query_cache/pool_memqcache.c +++ b/src/query_cache/pool_memqcache.c @@ -2004,7 +2004,7 @@ pool_reset_memqcache_buffer(bool reset_dml_oids) bool pool_is_shmem_cache(void) { - return (pool_config->memqcache_method == SHMEM_CACHE) ? true : false; + return pool_config->memqcache_method == SHMEM_CACHE; } /*