From 9aa1f1e1e7d182c1fd0379d2403432e62a6462ff Mon Sep 17 00:00:00 2001 From: Marco Slot Date: Wed, 17 Feb 2016 22:52:35 +0100 Subject: [PATCH] Rename topLevel variable to isTopLevel --- src/backend/distributed/master/master_delete_protocol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/distributed/master/master_delete_protocol.c b/src/backend/distributed/master/master_delete_protocol.c index 9d0c6355e..b046360a6 100644 --- a/src/backend/distributed/master/master_delete_protocol.c +++ b/src/backend/distributed/master/master_delete_protocol.c @@ -96,9 +96,9 @@ master_apply_delete_command(PG_FUNCTION_ARGS) bool dontWait = false; char partitionMethod = 0; bool failOK = false; - bool topLevel = true; + bool isTopLevel = true; - PreventTransactionChain(topLevel, "master_apply_delete_command"); + PreventTransactionChain(isTopLevel, "master_apply_delete_command"); queryTreeNode = ParseTreeNode(queryString); if (!IsA(queryTreeNode, DeleteStmt)) @@ -174,11 +174,11 @@ master_drop_all_shards(PG_FUNCTION_ARGS) char *schemaName = NULL; char *relationName = NULL; - bool topLevel = true; + bool isTopLevel = true; List *shardIntervalList = NIL; int droppedShardCount = 0; - PreventTransactionChain(topLevel, "DROP distributed table"); + PreventTransactionChain(isTopLevel, "DROP distributed table"); relationName = get_rel_name(relationId);