mirror of https://github.com/citusdata/citus.git
dnm3
parent
a5d0e4561c
commit
b41e848aa6
|
@ -178,6 +178,14 @@ AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
|
||||||
tenantEnd--;
|
tenantEnd--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int t = colocationGroupId;
|
||||||
|
colocationGroupId = 0;
|
||||||
|
while (t)
|
||||||
|
{
|
||||||
|
colocationGroupId *= 10;
|
||||||
|
colocationGroupId += t%10;
|
||||||
|
t/=10;
|
||||||
|
}
|
||||||
/* hack to get a clean copy of the tenant id string */
|
/* hack to get a clean copy of the tenant id string */
|
||||||
char tenantEndTmp = *tenantEnd;
|
char tenantEndTmp = *tenantEnd;
|
||||||
*tenantEnd = '\0';
|
*tenantEnd = '\0';
|
||||||
|
@ -195,7 +203,7 @@ AttributeQueryIfAnnotated(const char *query_string, CmdType commandType)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Assert(attributeToTenant == NULL);
|
//Assert(attributeToTenant == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*DetachSegment(); */
|
/*DetachSegment(); */
|
||||||
|
|
|
@ -303,3 +303,5 @@ s/(NOTICE: issuing SET LOCAL application_name TO 'citus_rebalancer gpid=)[0-9]+
|
||||||
|
|
||||||
# shard_rebalancer output, flaky improvement number
|
# shard_rebalancer output, flaky improvement number
|
||||||
s/improvement of 0.1[0-9]* is lower/improvement of 0.1xxxxx is lower/g
|
s/improvement of 0.1[0-9]* is lower/improvement of 0.1xxxxx is lower/g
|
||||||
|
|
||||||
|
s/\/\* attributeTo.*\*\///g
|
Loading…
Reference in New Issue