pull/6763/head
Halil Ozan Akgul 2023-03-08 16:32:50 +03:00
parent ff66234ca2
commit cb39c1f677
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ ExecutorEnd_hook_type prev_ExecutorEnd = NULL;
#define ONE_QUERY_SCORE 1000000000 #define ONE_QUERY_SCORE 1000000000
/* TODO maybe needs to be a stack */ /* TODO maybe needs to be a stack */
char *attributeToTenant = NULL; char attributeToTenant[100] = "";
CmdType attributeCommandType = CMD_UNKNOWN; CmdType attributeCommandType = CMD_UNKNOWN;
int colocationGroupId = -1; int colocationGroupId = -1;
clock_t attributeToTenantStart = { 0 }; clock_t attributeToTenantStart = { 0 };
@ -144,7 +144,7 @@ citus_stats_tenants(PG_FUNCTION_ARGS)
void void
AttributeQueryIfAnnotated(const char *query_string, CmdType commandType) AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
{ {
attributeToTenant = NULL; // attributeToTenant = NULL;
attributeCommandType = commandType; attributeCommandType = commandType;
@ -349,7 +349,7 @@ AttributeMetricsIfApplicable()
tenantStats->tenantAttribute))); tenantStats->tenantAttribute)));
} }
} }
attributeToTenant = NULL; //attributeToTenant = NULL;
} }