mirror of https://github.com/citusdata/citus.git
Fix Unused Parameter isTopLevel in ExecuteDistributedDDLCommand
This change fixes the unused variable problem in `ExecuteDistributedDDLCommand` function (multi_utility.c). The parameter is meant to be used in PreventTransactionChain call.pull/654/head
parent
b5e806ff55
commit
1063fbc80a
|
@ -1014,7 +1014,7 @@ ExecuteDistributedDDLCommand(Oid relationId, const char *ddlCommandString,
|
||||||
bool executionOK = false;
|
bool executionOK = false;
|
||||||
bool allPlacementsAccessible = false;
|
bool allPlacementsAccessible = false;
|
||||||
|
|
||||||
PreventTransactionChain(true, "distributed DDL commands");
|
PreventTransactionChain(isTopLevel, "distributed DDL commands");
|
||||||
SetLocalCommitProtocolTo2PC();
|
SetLocalCommitProtocolTo2PC();
|
||||||
|
|
||||||
allPlacementsAccessible = AllFinalizedPlacementsAccessible(relationId);
|
allPlacementsAccessible = AllFinalizedPlacementsAccessible(relationId);
|
||||||
|
|
Loading…
Reference in New Issue