mirror of https://github.com/citusdata/citus.git
dnm2
parent
cb39c1f677
commit
a5d0e4561c
|
@ -190,7 +190,7 @@ AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
|
||||||
quote_literal_cstr(tenantId))));
|
quote_literal_cstr(tenantId))));
|
||||||
}
|
}
|
||||||
|
|
||||||
attributeToTenant = (char *) malloc(strlen(tenantId));
|
// attributeToTenant = (char *) malloc(strlen(tenantId));
|
||||||
strcpy(attributeToTenant, tenantId);
|
strcpy(attributeToTenant, tenantId);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -250,7 +250,7 @@ CitusAttributeToEnd(QueryDesc *queryDesc)
|
||||||
static void
|
static void
|
||||||
AttributeMetricsIfApplicable()
|
AttributeMetricsIfApplicable()
|
||||||
{
|
{
|
||||||
if (attributeToTenant)
|
if (strcmp(attributeToTenant, "") != 0)
|
||||||
{
|
{
|
||||||
clock_t end = { 0 };
|
clock_t end = { 0 };
|
||||||
double cpu_time_used = 0;
|
double cpu_time_used = 0;
|
||||||
|
|
Loading…
Reference in New Issue