mirror of https://github.com/citusdata/citus.git
Fix typo: taget/target
parent
0244d3f206
commit
8647682c11
|
@ -3082,7 +3082,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
|
||||||
CheckCitusVersion(ERROR);
|
CheckCitusVersion(ERROR);
|
||||||
|
|
||||||
Oid relationId = PG_GETARG_OID(0);
|
Oid relationId = PG_GETARG_OID(0);
|
||||||
uint32 tagetColocationId = PG_GETARG_UINT32(1);
|
uint32 targetColocationId = PG_GETARG_UINT32(1);
|
||||||
|
|
||||||
EnsureTableOwner(relationId);
|
EnsureTableOwner(relationId);
|
||||||
|
|
||||||
|
@ -3111,7 +3111,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
|
||||||
|
|
||||||
int count = 1;
|
int count = 1;
|
||||||
List *targetColocatedTableList =
|
List *targetColocatedTableList =
|
||||||
ColocationGroupTableList(tagetColocationId, count);
|
ColocationGroupTableList(targetColocationId, count);
|
||||||
|
|
||||||
if (list_length(targetColocatedTableList) == 0)
|
if (list_length(targetColocatedTableList) == 0)
|
||||||
{
|
{
|
||||||
|
@ -3128,7 +3128,7 @@ citus_internal_update_relation_colocation(PG_FUNCTION_ARGS)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool localOnly = true;
|
bool localOnly = true;
|
||||||
UpdateRelationColocationGroup(relationId, tagetColocationId, localOnly);
|
UpdateRelationColocationGroup(relationId, targetColocationId, localOnly);
|
||||||
|
|
||||||
PG_RETURN_VOID();
|
PG_RETURN_VOID();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue