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
Eren Başak 2016-07-19 14:14:02 +03:00
parent b5e806ff55
commit 1063fbc80a
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ ExecuteDistributedDDLCommand(Oid relationId, const char *ddlCommandString,
bool executionOK = false;
bool allPlacementsAccessible = false;
PreventTransactionChain(true, "distributed DDL commands");
PreventTransactionChain(isTopLevel, "distributed DDL commands");
SetLocalCommitProtocolTo2PC();
allPlacementsAccessible = AllFinalizedPlacementsAccessible(relationId);