mirror of https://github.com/citusdata/citus.git
Rename topLevel variable to isTopLevel
parent
37f580f9c7
commit
9aa1f1e1e7
|
@ -96,9 +96,9 @@ master_apply_delete_command(PG_FUNCTION_ARGS)
|
||||||
bool dontWait = false;
|
bool dontWait = false;
|
||||||
char partitionMethod = 0;
|
char partitionMethod = 0;
|
||||||
bool failOK = false;
|
bool failOK = false;
|
||||||
bool topLevel = true;
|
bool isTopLevel = true;
|
||||||
|
|
||||||
PreventTransactionChain(topLevel, "master_apply_delete_command");
|
PreventTransactionChain(isTopLevel, "master_apply_delete_command");
|
||||||
|
|
||||||
queryTreeNode = ParseTreeNode(queryString);
|
queryTreeNode = ParseTreeNode(queryString);
|
||||||
if (!IsA(queryTreeNode, DeleteStmt))
|
if (!IsA(queryTreeNode, DeleteStmt))
|
||||||
|
@ -174,11 +174,11 @@ master_drop_all_shards(PG_FUNCTION_ARGS)
|
||||||
|
|
||||||
char *schemaName = NULL;
|
char *schemaName = NULL;
|
||||||
char *relationName = NULL;
|
char *relationName = NULL;
|
||||||
bool topLevel = true;
|
bool isTopLevel = true;
|
||||||
List *shardIntervalList = NIL;
|
List *shardIntervalList = NIL;
|
||||||
int droppedShardCount = 0;
|
int droppedShardCount = 0;
|
||||||
|
|
||||||
PreventTransactionChain(topLevel, "DROP distributed table");
|
PreventTransactionChain(isTopLevel, "DROP distributed table");
|
||||||
|
|
||||||
relationName = get_rel_name(relationId);
|
relationName = get_rel_name(relationId);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue