mirror of https://github.com/citusdata/citus.git
Style
parent
4a6dbf886c
commit
31573a01d7
|
|
@ -451,7 +451,8 @@ ErrorIfAddingPartitionTableToMetadata(Oid relationId)
|
||||||
/*
|
/*
|
||||||
* SetAutoConverted is the setter function for variable autoConverted.
|
* SetAutoConverted is the setter function for variable autoConverted.
|
||||||
*/
|
*/
|
||||||
void SetAutoConverted(bool autoConvertedValue)
|
void
|
||||||
|
SetAutoConverted(bool autoConvertedValue)
|
||||||
{
|
{
|
||||||
autoConverted = autoConvertedValue;
|
autoConverted = autoConvertedValue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -158,9 +158,9 @@ ShouldUndistributeCitusLocalTable(Oid relationId)
|
||||||
{
|
{
|
||||||
if (IsCitusTableType(relationOid, REFERENCE_TABLE))
|
if (IsCitusTableType(relationOid, REFERENCE_TABLE))
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The relation is connected to a reference table via foreign keys,
|
* The relation is connected to a reference table via foreign keys,
|
||||||
* we shouldn't undistribute it.
|
* we shouldn't undistribute it.
|
||||||
*/
|
*/
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue