mirror of https://github.com/citusdata/citus.git
Indent
parent
5027321af0
commit
7575f362be
|
@ -66,7 +66,7 @@ static void MultiTenantMonitorSMInit(void);
|
||||||
static TenantStats * CreateTenantStats(MultiTenantMonitor *monitor, TimestampTz
|
static TenantStats * CreateTenantStats(MultiTenantMonitor *monitor, TimestampTz
|
||||||
queryTime);
|
queryTime);
|
||||||
static void FillTenantStatsHashKey(TenantStatsHashKey *key, char *tenantAttribute, uint32
|
static void FillTenantStatsHashKey(TenantStatsHashKey *key, char *tenantAttribute, uint32
|
||||||
colocationGroupId);
|
colocationGroupId);
|
||||||
static TenantStats * FindTenantStats(MultiTenantMonitor *monitor);
|
static TenantStats * FindTenantStats(MultiTenantMonitor *monitor);
|
||||||
static size_t MultiTenantMonitorshmemSize(void);
|
static size_t MultiTenantMonitorshmemSize(void);
|
||||||
static char * ExtractTopComment(const char *inputString);
|
static char * ExtractTopComment(const char *inputString);
|
||||||
|
@ -744,7 +744,8 @@ FindTenantStats(MultiTenantMonitor *monitor)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
FillTenantStatsHashKey(TenantStatsHashKey *key, char *tenantAttribute, uint32 colocationGroupId)
|
FillTenantStatsHashKey(TenantStatsHashKey *key, char *tenantAttribute, uint32
|
||||||
|
colocationGroupId)
|
||||||
{
|
{
|
||||||
memset(key->tenantAttribute, 0, MAX_TENANT_ATTRIBUTE_LENGTH);
|
memset(key->tenantAttribute, 0, MAX_TENANT_ATTRIBUTE_LENGTH);
|
||||||
strlcpy(key->tenantAttribute, tenantAttribute, MAX_TENANT_ATTRIBUTE_LENGTH);
|
strlcpy(key->tenantAttribute, tenantAttribute, MAX_TENANT_ATTRIBUTE_LENGTH);
|
||||||
|
|
Loading…
Reference in New Issue