From 99cd01f14e0b78136398548de108bc8cff550121 Mon Sep 17 00:00:00 2001 From: Viktor Kurilko Date: Mon, 25 Dec 2023 16:49:18 +0700 Subject: [PATCH] fix format --- src/diskquota.h | 2 +- src/gp_activetable.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/diskquota.h b/src/diskquota.h index d9ba794b..d3e9ddff 100644 --- a/src/diskquota.h +++ b/src/diskquota.h @@ -317,6 +317,6 @@ extern HTAB *diskquota_hash_create(const char *tabname, long nelem, HASHC extern HTAB *DiskquotaShmemInitHash(const char *name, long init_size, long max_size, HASHCTL *infoP, int hash_flags, DiskquotaHashFunction hash_function); extern void refresh_monitored_dbid_cache(void); -extern HASHACTION check_hash_fullness(HTAB *hashp, int max_size, const char *warning_message, +extern HASHACTION check_hash_fullness(HTAB *hashp, int max_size, const char *warning_message, TimestampTz *last_overflow_report); #endif diff --git a/src/gp_activetable.c b/src/gp_activetable.c index fb1dc939..1a843d22 100644 --- a/src/gp_activetable.c +++ b/src/gp_activetable.c @@ -928,7 +928,7 @@ get_active_tables_oid(void) { HASHACTION action = check_hash_fullness(active_tables_map, diskquota_max_active_tables, ACTIVE_TABLES_MAP_WARNING, &active_tables_map_last_overflow_report); - entry = hash_search(active_tables_map, active_table_file_entry, action, &found); + entry = hash_search(active_tables_map, active_table_file_entry, action, &found); if (entry) *entry = *active_table_file_entry; } LWLockRelease(diskquota_locks.active_table_lock);