From 726975587e4a1e43098b73f3e62b9787e51b6306 Mon Sep 17 00:00:00 2001 From: Gokhan Gulbiz Date: Thu, 27 Apr 2023 08:17:46 +0300 Subject: [PATCH] Indent --- src/backend/distributed/utils/citus_stat_tenants.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/distributed/utils/citus_stat_tenants.c b/src/backend/distributed/utils/citus_stat_tenants.c index f9231aa94..eff70839b 100644 --- a/src/backend/distributed/utils/citus_stat_tenants.c +++ b/src/backend/distributed/utils/citus_stat_tenants.c @@ -128,14 +128,14 @@ citus_stat_tenants_local(PG_FUNCTION_ARGS) StatTenantsLimit); } - // Allocate an array to hold the tenants. + /* Allocate an array to hold the tenants. */ TenantStats **stats = palloc(tenantStatsCount * sizeof(TenantStats *)); HASH_SEQ_STATUS hash_seq; TenantStats *stat; - // Get all the tenants from the hash table. + /* Get all the tenants from the hash table. */ int j = 0; hash_seq_init(&hash_seq, monitor->tenants); while ((stat = hash_seq_search(&hash_seq)) != NULL) @@ -145,7 +145,7 @@ citus_stat_tenants_local(PG_FUNCTION_ARGS) ReduceScoreIfNecessary(stat, monitoringTime); } - // Sort the tenants by their score. + /* Sort the tenants by their score. */ SafeQsort(stats, j, sizeof(TenantStats *), CompareTenantScore);