Fix coding style.
authorTatsuo Ishii <[email protected]>
Thu, 22 Sep 2022 11:49:24 +0000 (20:49 +0900)
committerTatsuo Ishii <[email protected]>
Thu, 22 Sep 2022 11:49:24 +0000 (20:49 +0900)
Declaration of variables must be before any execute statements.

src/utils/pool_process_reporting.c

index c63b2ed45219f0a3ac789aa890433474f33644f2..3310530a0c42d48803bdcab20dd7ffacf6fa9bf8 100644 (file)
@@ -1669,10 +1669,11 @@ get_processes(int *nrows)
 
        for (child = 0; child < pool_config->num_init_children; child++)
        {
+               int exist_live_connection = 0;
+
                proc_id = process_info[child].pid;
                pi = pool_get_process_info(proc_id);
 
-               int exist_live_connection = 0;
                for (pool = 0; pool < pool_config->max_pool; pool++)
                {
                        poolBE = pool * MAX_NUM_BACKENDS;